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/partials/configuration/suggestededits-options.adoc
+1-81Lines changed: 1 addition & 81 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,3 @@
1
-
[[suggestededits_uid]]
2
-
== `suggestededits_uid`
3
-
4
-
The `{plugincode}_uid` is a _required_ option that takes as input a unique string to identify the current user. This is used to attribute changes made by the user.
5
-
6
-
*Type:* `+String+`
7
-
8
-
=== Example: using `{plugincode}_uid`
9
-
10
-
// Add a working and tested configuration.
11
-
[source,js]
12
-
----
13
-
tinymce.init({
14
-
selector: 'textarea', // Change this value according to your HTML
15
-
plugins: 'suggestededits',
16
-
toolbar: 'suggestededits',
17
-
suggestededits_uid: 'unique-identifier' // replace this with a unique string to identify the user
18
-
});
19
-
----
20
-
21
1
[[suggestededits_model]]
22
2
== `suggestededits_model`
23
3
@@ -104,7 +84,7 @@ In either case, if a model is not provided, the plugin will generate a new model
104
84
105
85
*Default value:* `'html'`
106
86
107
-
=== Example: using `{plugincode}_css_url`
87
+
=== Example: using `{plugincode}_content`
108
88
109
89
// Add a working and tested configuration.
110
90
[source,js]
@@ -118,63 +98,3 @@ tinymce.init({
118
98
suggestededits_content: 'model' // change this value to set the content source
119
99
});
120
100
----
121
-
122
-
[[suggestededits_css_url]]
123
-
== `suggestededits_css_url`
124
-
125
-
The `{plugincode}_css_url` option sets the location where a CSS file containing change annotations in the {pluginname} view should be loaded from. To override the default CSS classes, use this option alongside `{plugincode}_diff_classes`.
selector: 'textarea', // Change this value according to your HTML
138
-
suggestededits_css_url: './suggestededits.css'
139
-
});
140
-
----
141
-
142
-
[[suggestededits_diff_classes]]
143
-
== `suggestededits_diff_classes`
144
-
145
-
The `{plugincode}_diff_classes` option configures the CSS classes applied to the change annotations in the {pluginname} view. This is useful to set custom styles and must be used in combination with the `{plugincode}_css_url` option.
146
-
147
-
[NOTE]
148
-
The CSS class names must exist in the xref:{plugincode}_css_url[`+suggestededits_css_url+`].
0 commit comments