Hi, I found a problem when using "Paste as Plain Text". I try to paste text as below as plain text in Cute Editor.
There are three operations involved: taking a snapshot of the object state, restoring the object state in case
of an undo, and discarding the stored object state in case of an accept operation.
Additionally, if this object has child objects that implement Csla.Core.IUndoableObject, those
child objects must also perform the store, restore, and accept operations. To achieve this, any time
the algorithm encounters a field that’s derived from either of these types, it will cascade the operation
to that object so it can take appropriate action.
The three operations will be implemented by a set of three methods:
• CopyState()
• UndoChanges()
• AcceptChanges()
And do some paragraph formatting by aligning my cursor on beginning of each paragraph then press enter. When I preview it the text revert to original position meaning that all the formatting has been removed. May I know what had happen that caused all formatting missing?
This problem will not happen to text that we type in directly to Cute Editor. Thanks.