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/plugins/premium/formatpainter.adoc
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ liveDemo::format-painter[]
17
17
18
18
== Basic setup
19
19
20
-
To add the {pluginname} plugin to the editor, add `+{plugincode}+` to the `plugins` option in the editor configuration.
20
+
To add the {pluginname} plugin to the editor, add `{plugincode}` to the `plugins` option in the editor configuration.
21
21
22
22
For example:
23
23
@@ -39,7 +39,7 @@ The format painter operates in two modes, one for retrieval and one for applicat
39
39
*Usage with toolbar button*
40
40
41
41
. Position the cursor at the source content to retrieve the formatting.
42
-
. Enable the *Format Painter* button to copy the formatting. The *Format Painter* toolbar button background color changes to _grey_ image:{baseurl}/images/icons/format-painter.svg[the Format Painter toolbar button icon].
42
+
. Enable the *Format Painter* button to copy the formatting. The *Format Painter* toolbar button background color changes to _grey_ image:icons/format-painter.svg[the Format Painter toolbar button icon].
43
43
. Select the goal content to apply the formatting.
44
44
45
45
*Result*: The formatting from the source content is applied to the goal content.
@@ -51,13 +51,11 @@ The format painter operates in two modes, one for retrieval and one for applicat
51
51
. Select the goal content to apply the formatting.
52
52
. Press the `Ctrl+Alt+V` keys to apply the formatting.
53
53
54
-
____
55
-
The format painter retains the formatting after application making it possible to apply the same formatting multiple times by using the `Ctrl+Alt+V` keyboard shortcut.
56
-
____
54
+
NOTE: The format painter retains the formatting after application making it possible to apply the same formatting multiple times by using the `Ctrl+Alt+V` keyboard shortcut.
57
55
58
56
== Options
59
57
60
-
The format painter acts upon all link:{baseurl}/configure/content-formatting/#formats[`formats`] registered in the editor. In addition to any standard formatting, it will treat *lists* as a block format whenever the link:{baseurl}/plugins/opensource/lists/[`lists plugin`] is made available.
58
+
The format painter acts upon all xref:configure/content-formatting.adoc#formats[`formats`] registered in the editor. In addition to any standard formatting, it will treat *lists* as a block format whenever the xref:plugins/opensource/lists.adoc[`lists plugin`] is made available.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/plugins/premium/linkchecker.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The Link Checker plugin relies on HTTP response status codes to determine if a l
11
11
12
12
== Cloud Instructions
13
13
14
-
If you are using link:{baseurl}/cloud-deployment-guide/editor-and-features/[{cloudname}], simply add `"linkchecker"` to your plugins list, and the service will be automatically configured.
14
+
If you are using xref:cloud-deployment-guide/editor-and-features.adoc[{cloudname}], simply add `"linkchecker"` to your plugins list, and the service will be automatically configured.
. In the *General* tab, enter the url in the *Source* field, or click on the image:{baseurl}/images/icons/browse.svg[Source](*Source*) icon to upload a file.
40
+
image:insert-iframes.png[InsertEdit Iframe]
41
+
. In the *General* tab, enter the url in the *Source* field, or click on the image:icons/browse.svg[Source](*Source*) icon to upload a file.
42
42
. For setting the iframe size, select the preferred option from the *Size* drop-down menu.
43
43
** *Inline Value* is used to insert an iframe within a line. To set the dimensions of an inline iframe, provide the values in pixels in the *Width* and *Height* input box.
44
-
*** The default values are *Width* `350px` and *Height* `260px`. Click the image:{baseurl}/images/icons/lock.svg[Constrain Proportions](*Constrain Proportions*) lock icon to change the default values.
44
+
*** The default values are *Width* `350px` and *Height* `260px`. Click the image:icons/lock.svg[Constrain Proportions](*Constrain Proportions*) lock icon to change the default values.
45
45
46
46
+
47
47
NOTE: The *Width* and *Height* fields are only available if the *Inline Value* value option is selected.
@@ -55,7 +55,7 @@ NOTE: The *Width* and *Height* fields are only available if the *Inline Value* v
55
55
NOTE: The *Responsive* option has pre-defined width and height values. The *Width* and *Height* fields are not available if one of the *Responsive* values are selected.
56
56
. In the *Advanced* tab, provide a name and title for the iframe in the *Name* and *Title* fields.
57
57
. The *Long description URL* field can be used to describe an iframe by including text in a separate resource when a short text alternative does not adequately convey the function or information provided in the iframe.
58
-
** Click on the image:{baseurl}/images/icons/browse.svg[Source](*Long description URL*) icon to upload a description file.
58
+
** Click on the image:icons/browse.svg[Source](*Long description URL*) icon to upload a description file.
59
59
. Click on the *Show iframe border* radio button to display iframe borders.
60
60
. Click on the *Scrollbar* radio button to add scrollbars to the iframe.
61
61
. Click *Save* to save and exit or *Cancel* to dismiss and exit.
@@ -85,4 +85,4 @@ IMPORTANT: The following CSS script must be added to the webpage for the default
Copy file name to clipboardExpand all lines: modules/ROOT/pages/plugins/premium/permanentpen.adoc
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ underline: false,
29
29
strikethrough: false
30
30
----
31
31
32
-
For more information on {productname} formats, refer to the link:{baseurl}/configure/content-formatting/#formats[formats] section.
32
+
For more information on {productname} formats, refer to the xref:configure/content-formatting.adoc#formats[formats] section.
33
33
34
34
== Try our Permanent Pen demo
35
35
@@ -39,25 +39,25 @@ liveDemo::permanent-pen[]
39
39
40
40
=== To enable Permanent Pen
41
41
42
-
. Click on the image:{baseurl}/images/icons/permanent-pen.svg[Permanent Pen](*Permanent Pen*) toolbar button to enable the Permanent Pen.
42
+
. Click on the image:icons/permanent-pen.svg[Permanent Pen](*Permanent Pen*) toolbar button to enable the Permanent Pen.
43
43
. Place the cursor in the desired text area and start typing.
44
44
45
45
*Result*:
46
-
The *Permanent Pen* toolbar button background color changes to _grey_ image:{baseurl}/images/icons/permanent-pen.svg[Permanent Pen] and the text is entered using the default settings.
46
+
The *Permanent Pen* toolbar button background color changes to _grey_ image:icons/permanent-pen.svg[Permanent Pen] and the text is entered using the default settings.
47
47
48
48
=== To disable Permanent Pen
49
49
50
-
To exit the Permanent Pen, click on the image:{baseurl}/images/icons/permanent-pen.svg[Permanent Pen](*Permanent Pen*) icon.
50
+
To exit the Permanent Pen, click on the image:icons/permanent-pen.svg[Permanent Pen](*Permanent Pen*) icon.
51
51
52
-
The *Permanent Pen* toolbar button background color changes to _white_ image:{baseurl}/images/icons/permanent-pen.svg[Permanent Pen].
52
+
The *Permanent Pen* toolbar button background color changes to _white_ image:icons/permanent-pen.svg[Permanent Pen].
53
53
54
54
=== Accessing the Permanent Pen properties
55
55
56
56
There are two ways to access the Permanent Pen properties:
57
57
58
58
==== From the menubar
59
59
60
-
Add the Permanent pen properties option to the menu bar with the link:{baseurl}/configure/editor-appearance/#menu[menu] configuration.
60
+
Add the Permanent pen properties option to the menu bar with the xref:configure/editor-appearance.adoc#menu[menu] configuration.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/plugins/premium/powerpaste.adoc
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,13 @@ The *PowerPaste* plugin activates automatically when users paste content into th
17
17
18
18
To paste clipboard content as plain text, users can click the "Paste As Text" toolbar button or menu item, then paste the content normally. The {productname} *PowerPaste* plugin will convert the HTML on the clipboard into plain text.
19
19
20
-
If you configure *PowerPaste* to allow local images (see the <<powerpaste_allow_local_images,`powerpaste_allow_local_images`>> setting below), then images copied from Microsoft Word and other sources will appear in {productname} as Base64 encoded images. You can have {productname} automatically upload Base64 encoded images for reverting back to a standard image as described in the link:{baseurl}/advanced/handle-async-image-uploads/[image upload documentation].
20
+
If you configure *PowerPaste* to allow local images (see the xref:powerpaste_allow_local_images[`powerpaste_allow_local_images`] setting below), then images copied from Microsoft Word and other sources will appear in {productname} as Base64 encoded images. You can have {productname} automatically upload Base64 encoded images for reverting back to a standard image as described in the xref:general-configuration-guide/upload-images.adoc[image upload documentation].
21
21
22
22
NOTE: PowerPaste (when configured to allow local images) will import images from pasted Microsoft Word and Microsoft Excel content. When doing this, *PowerPaste* extracts Base64 encoded images from the clipboard. Images larger than approximately 8.5MB may fail to import based on technical limitations of web browsers.
23
23
24
24
== Cloud Installation
25
25
26
-
To enable the {productname} *PowerPaste* plugin with link:{baseurl}/cloud-deployment-guide/editor-and-features/[{cloudname}]:
26
+
To enable the {productname} *PowerPaste* plugin with xref:cloud-deployment-guide/editor-and-features.adoc[{cloudname}]:
27
27
28
28
. If you are currently using the `paste` plugin provided with {productname}, disable it by removing it from the `plugins` list.
29
29
. Add `powerpaste` to the `plugins` list.
@@ -121,7 +121,8 @@ The event listeners are passed the same data objects as their equivalent configu
121
121
122
122
Example {productname} configuration:
123
123
124
-
```js
124
+
[source, js]
125
+
----
125
126
const yourCustomFilter = function(content) {
126
127
// Implement your custom filtering and return the filtered content
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/formatpainter_formats.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
=== `formats`
2
2
3
-
The format painter plugin will register many formats upon initialization. To override these formats, use the link:{baseurl}/configure/content-formatting/#exampleofusageoftheformatsoption[`formats`] option.
3
+
The format painter plugin will register many formats upon initialization. To override these formats, use the xref:configure/content-formatting.adoc#exampleofusageoftheformatsoption[`formats`] option.
4
4
5
-
The example below showcases the formats registered automatically by the plugin upon initialization. The `formatpainter_removeformat` is used to clear any existing formats before applying the new ones. It is similar to the link:{baseurl}/configure/content-formatting/#removingaformat[`removeformat`] format.
5
+
The example below showcases the formats registered automatically by the plugin upon initialization. The `formatpainter_removeformat` is used to clear any existing formats before applying the new ones. It is similar to the xref:configure/content-formatting.adoc#removingaformat[`removeformat`] format.
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/formats.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -393,6 +393,7 @@ tinymce.init({
393
393
});
394
394
----
395
395
396
+
[[exampleofusageoftheformatsoption]]
396
397
=== Example of usage of the formats option
397
398
398
399
This example overrides some of the built-in formats and tells {productname} to apply classes instead of inline styles. It also includes a custom format that produced `h1` elements with a title attribute and a `red` CSS style.
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/image_file_types.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
=== `image_file_types`
2
2
3
-
This option configures which image file formats will be recognized and placed in an `img` element by the <<smart_paste,`smart_paste`>> functionality when content is pasted into the editor.
3
+
This option configures which image file formats will be recognized and placed in an `img` element by the xref:smart_paste[`smart_paste`] functionality when content is pasted into the editor.
4
4
5
5
*Type:*`String`
6
6
@@ -10,7 +10,7 @@ This option configures which image file formats will be recognized and placed in
10
10
11
11
==== Example: Using `image_file_types`
12
12
13
-
[source, js]
13
+
[source, js, subs="attributes+"]
14
14
----
15
15
tinymce.init({
16
16
selector: 'textarea', // change this value according to your HTML
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/linkchecker_content_css.adoc
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@
2
2
3
3
After a link is checked for validity, a result of the validation is added to it via `data-mce-linkchecker-status` attribute. There are three possible outcomes of the validation: `valid`, `invalid` and `unknown`. Link Checker visually reflects `invalid` outcome by injecting the following CSS styles into the editor:
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/mentions_fetch.adoc
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
+
[[mentions_fetch]]
1
2
=== `mentions_fetch`
2
3
3
-
This option lets you request a list of users from your server that match a search query. The callback gets passed two parameters: one is the search query object, the other is the success callback to execute with the results. The query object has a term property that contains what the user has typed after the "@" sign. The success call should contain an array of users. For information on the user properties to pass the success callback for the available mentions item types (`mentions_item_type`), see: <<userproperties,User properties>>.
4
+
This option lets you request a list of users from your server that match a search query. The callback gets passed two parameters: one is the search query object, the other is the success callback to execute with the results. The query object has a term property that contains what the user has typed after the "@" sign. The success call should contain an array of users. For information on the user properties to pass the success callback for the available mentions item types (`mentions_item_type`), see: xref:plugins/premium/mentions.adoc#userproperties[User properties].
0 commit comments