File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1051,7 +1051,7 @@ <h3 id="api_marker">Text-marking methods</h3>
10511051 < dd > Use a given node to display this range. Implies both
10521052 collapsed and atomic. The given DOM node < em > must</ em > be an
10531053 inline element (as opposed to a block element).</ dd >
1054- < dt id ="mark_readOnly "> < code > < strong > readOnly</ strong > : boolean|string </ code > </ dt >
1054+ < dt id ="mark_readOnly "> < code > < strong > readOnly</ strong > : boolean</ code > </ dt >
10551055 < dd > A read-only span can, as long as it is not cleared, not be
10561056 modified except by
10571057 calling < a href ="#setValue "> < code > setValue</ code > </ a > to reset
@@ -1060,6 +1060,10 @@ <h3 id="api_marker">Text-marking methods</h3>
10601060 existing undo events being partially nullified by read-only
10611061 spans would corrupt the history (in the current
10621062 implementation).</ dd >
1063+ < dt id ="mark_addToHistory "> < code > < strong > addToHistory</ strong > : boolean</ code > </ dt >
1064+ < dd > When set to true (default is false), adding this marker
1065+ will create an event in the undo history that can be
1066+ individually undone (clearing the marker).</ dd >
10631067 < dt id ="mark_startStyle "> < code > < strong > startStyle</ strong > : string</ code > </ dt > < dd > Can be used to specify
10641068 an extra CSS class to be applied to the leftmost span that
10651069 is part of the marker.</ dd >
You can’t perform that action at this time.
0 commit comments