Skip to content

Commit

Permalink
DOC-2492_v6: Remove IMPORTANT mention regarding prefix and suffix can…
Browse files Browse the repository at this point in the history
…not match in editor config.
  • Loading branch information
kemister85 committed Jul 25, 2024
1 parent 31f3fd9 commit ebd878d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
8 changes: 4 additions & 4 deletions modules/ROOT/pages/mergetags.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ For example, a merge tag can be set to any available typeface, type-size, foregr
+
A selected merge tag can be changed to any other merge tag by using the {pluginname} toolbar menu button.

. Text that matches an existing merge tag will be recognised as a merge tag when it is pasted or otherwise inserted into a {productname} document.
. Text that matches an existing merge tag will be recognized as a merge tag when it is pasted or otherwise inserted into a {productname} document.
+
Content containing the specified prefix and suffix, and matching a specified merge tag, will be inserted as a merge tag when pasted into the editor. For example, if `Sender.Firstname` is a merge tag value, and the merge tag prefix and suffix have their default values, adding the string, `{{Sender.FirstName}}`, to a {productname} document will result in the string automatically being recognised as a merge tag.
Content containing the specified prefix and suffix, and matching a specified merge tag, will be inserted as a merge tag when pasted into the editor. For example, if `Sender.Firstname` is a merge tag value, and the merge tag prefix and suffix have their default values, adding the string, `{{Sender.FirstName}}`, to a {productname} document will result in the string automatically being recognized as a merge tag.

. {pluginname} can be nested within the `+mergetags_list+` option.
+
The `+mergetags_list+` option allows for the specification of a nested menu item within the {pluginname} toolbar menu button. This option allows any number of nested menus and items for merge tag categorisation.
The `+mergetags_list+` option allows for the specification of a nested menu item within the {pluginname} toolbar menu button. This option allows any number of nested menus and items for merge tag categorization.

== Styling Merge Tags

Expand Down Expand Up @@ -126,4 +126,4 @@ include::partial$configuration/mergetags_list.adoc[leveloffset=+1]

include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[]

include::partial$misc/plugin-menu-item-id-boilerplate.adoc[]
include::partial$misc/plugin-menu-item-id-boilerplate.adoc[]
4 changes: 1 addition & 3 deletions modules/ROOT/partials/configuration/mergetags_prefix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@ tinymce.init({
toolbar: 'mergetags',
mergetags_prefix: '{{'
});
----

IMPORTANT: Whatever character or characters are set as the Merge Tags prefix, it or they must be different to the characters set as the Merge Tags suffix. For example, if the Merge Tags prefix is set to `%`, the Merge Tags suffix cannot also be `%`.
----
4 changes: 1 addition & 3 deletions modules/ROOT/partials/configuration/mergetags_suffix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ tinymce.init({
toolbar: 'mergetags',
mergetags_suffix: '}}'
});
----

IMPORTANT: Whatever character or characters are set as the Merge Tags suffix, it or they must be different to the characters set as the Merge Tags prefix. For example, if the Merge Tags suffix is set to `%`, the Merge Tags prefix cannot also be `%`.
----

0 comments on commit ebd878d

Please sign in to comment.