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
The second `+meta+` element is required for the editor to function correctly on mobile devices. For information on the viewport `+meta+` element, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag#viewport_basics[MDN Web Docs - Using the viewport meta tag to control layout on mobile browsers].
. Add a `+script+` element sourcing {productname}, such as:
45
+
. Add a `+script+` element sourcing the output file, such as:
56
46
+
57
47
[source,html]
58
48
----
@@ -63,7 +53,7 @@ If a `script` element sourcing {productname} is not provided, the {productname}
63
53
64
54
endif::[]
65
55
ifeval::["{productSource}" == "zip"]
66
-
. Add a `+script+` element sourcing the {productname} Web Component (`+tinymce-webcomponent.js+`), such as:
56
+
. Add a `+script+` element sourcing the {productname} Web Component (`+tinymce-webcomponent.min.js+`), such as:
67
57
+
68
58
[source,html,subs="attributes+"]
69
59
----
@@ -80,7 +70,9 @@ The `tinymce-webcomponent` can also be sourced from link:https://www.npmjs.com/p
80
70
----
81
71
+
82
72
If a `+script+` element sourcing {productname} is not provided, the {productname} Web Component will load {productname} from the {cloudname}. For information on the available options for sourcing {productname}, see: xref:webcomponent-ref.adoc#loading-tinymce[Loading {productname}].
73
+
83
74
endif::[]
75
+
84
76
ifeval::["{productSource}" == "cloud"]
85
77
. Add a `+tinymce-editor+` element where the editor should appear and include your {cloudname} API key from link:{accountpageurl}/[{accountpage}].
For a list of available context menu sections, see: xref:editor-context-menu-identifiers.adoc[Available context menu sections]. For information on context menus, see: xref:menus-configuration-options.adoc#contextmenu[User interface options - `+contextmenu+`].
225
211
226
212
[[setting-the-quick-insert-toolbar]]
@@ -379,11 +365,11 @@ To execute a javascript callback before the editor instance is rendered, use the
0 commit comments