You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/apis/tinymce.dom.domutils.adoc
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,8 @@ available. If it's not, it will fall back to the custom TinyMCE implementation.|
48
48
|xref:#encode[encode()]|Entity encodes a string. This method encodes the most common entities, such as `<`, `>`, `"` and `&`.|`xref:apis/tinymce.dom.domutils.adoc[DOMUtils]`
49
49
|xref:#findCommonAncestor[findCommonAncestor()]|Find the common ancestor of two elements. This is a shorter method than using the DOM Range logic.|`xref:apis/tinymce.dom.domutils.adoc[DOMUtils]`
50
50
|xref:#fire[fire()]|Fires the specified event name and optional object on the specified target.
51
+
52
+
51
53
__Deprecated in TinyMCE 6.0 and has been marked for removal in TinyMCE 7.0. Use `dispatch` instead.__|`xref:apis/tinymce.dom.domutils.adoc[DOMUtils]`
52
54
|xref:#get[get()]|Returns the specified element by ID or the input element if it isn't a string.|`xref:apis/tinymce.dom.domutils.adoc[DOMUtils]`
53
55
|xref:#getAttrib[getAttrib()]|Returns the specified attribute by name.|`xref:apis/tinymce.dom.domutils.adoc[DOMUtils]`
@@ -396,6 +398,8 @@ Find the common ancestor of two elements. This is a shorter method than using th
Copy file name to clipboardExpand all lines: modules/ROOT/pages/apis/tinymce.dom.eventutils.adoc
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ This class wraps the browsers native event logic with more convenient methods.
19
19
listeners to child nodes within that target.|`xref:apis/tinymce.dom.eventutils.adoc[EventUtils]`
20
20
|xref:#dispatch[dispatch()]|Dispatches the specified event on the specified target.|`xref:apis/tinymce.dom.eventutils.adoc[EventUtils]`
21
21
|xref:#fire[fire()]|Fires the specified event on the specified target.
22
+
23
+
22
24
__Deprecated in TinyMCE 6.0 and has been marked for removal in TinyMCE 7.0. Use `dispatch` instead.__|`xref:apis/tinymce.dom.eventutils.adoc[EventUtils]`
23
25
|xref:#unbind[unbind()]|Unbinds the specified event by name, name and callback or all events on the target.|`xref:apis/tinymce.dom.eventutils.adoc[EventUtils]`
24
26
|===
@@ -93,6 +95,8 @@ Dispatches the specified event on the specified target.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/apis/tinymce.editor.adoc
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,8 @@ link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more det
88
88
the tinymce command identifiers documentation.|`xref:apis/tinymce.editor.adoc[Editor]`
89
89
|xref:#fire[fire()]|Fires the specified event by name. Consult the
90
90
link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event.
91
+
92
+
91
93
__Deprecated in TinyMCE 6.0 and has been marked for removal in TinyMCE 7.0. Use `dispatch` instead.__|`xref:apis/tinymce.util.observable.adoc[Observable]`
92
94
|xref:#focus[focus()]|Focuses/activates the editor. This will set this editor as the activeEditor in the tinymce collection
93
95
it will also place DOM focus inside the editor.|`xref:apis/tinymce.editor.adoc[Editor]`
@@ -102,6 +104,8 @@ holds the iframe or the editable element.|`xref:apis/tinymce.editor.adoc[Editor]
102
104
|xref:#getDoc[getDoc()]|Returns the iframes document object.|`xref:apis/tinymce.editor.adoc[Editor]`
103
105
|xref:#getElement[getElement()]|Returns the target element/textarea that got replaced with a TinyMCE editor instance.|`xref:apis/tinymce.editor.adoc[Editor]`
104
106
|xref:#getParam[getParam()]|Returns a configuration parameter by name.
107
+
108
+
105
109
__Deprecated in TinyMCE 6.0 and has been marked for removal in TinyMCE 7.0. Use the `editor.options.get` API instead.__|`xref:apis/tinymce.editor.adoc[Editor]`
106
110
|xref:#getWin[getWin()]|Returns the iframes window object.|`xref:apis/tinymce.editor.adoc[Editor]`
107
111
|xref:#hasEditableRoot[hasEditableRoot()]|Returns the current editable state of the editor's root element.|`xref:apis/tinymce.editor.adoc[Editor]`
@@ -138,6 +142,8 @@ This method will move the HTML contents from the editor into that textarea or di
138
142
so all events etc that method has will get dispatched as well.|`xref:apis/tinymce.editor.adoc[Editor]`
139
143
|xref:#setContent[setContent()]|Sets the specified content to the editor instance, this will cleanup the content before it gets set using
140
144
the different cleanup rules options.
145
+
146
+
141
147
__Note: The content return value was deprecated in TinyMCE 6.0 and has been marked for removal in TinyMCE 7.0.__|`xref:apis/tinymce.editor.adoc[Editor]`
142
148
|xref:#setDirty[setDirty()]|Explicitly sets the dirty state. This will fire the dirty event if the editor dirty state is changed from false to true
143
149
by invoking this method.|`xref:apis/tinymce.editor.adoc[Editor]`
0 commit comments