I
I
Igor2019-07-23 12:29:59
MODX
Igor, 2019-07-23 12:29:59

How to enable tinymce editor for only one template?

Hello
There is one ancient site on Modx Revo, where a bunch of *****code is not only in the templates, but also in the pages themselves, right in the [*content] field of the
Text editor, there was no there.
Added a new section with text articles, throw it there texts without an editor are hard
To protect yourself from accidentally resaving old text and trimming tags, I would like to make the default text editor active for only one specific (well, or several) templates.
Do not tell me how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Khristoev, 2019-07-23
@Haoss

I’ll tell you on the example of version 2.7.1, in the ancient ones it should be
- Menu - Customize forms
- New profile
- Create a rule - Action when creating - Choose a template
- look for richtext and in the Default value type false, although any value will do.
- Save and copy the rule and select Resource Update
In the latest version, you can select both Create and Update at the same time.
Don't forget to include the rule.
It works on version 2.7.1, one template with an editor, the other does not, although it can no longer be checked with a tick.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question