0

is there a way in drupal 8 to use two different editors (CKeditor with two different buttonpanels or two differently allowed html tags) in one content type?

I have created a content type of a text field (body) and with the module paragraph other text fields are created. the user should use the possibilities in the body field of pictures and tables but in the text fields of paragraph the user should not be allowed to do so.

I have now created two different editors but the user can always switch between the editors. How can I determine that only one editor can be used in the body field and only the other one in the remaining text fields? many thanks for your help! s-webz

  • Use Better Formats module to limit format options regardless of the current user permission. – Kevin Mar 14 at 14:08
  • this is not a option becouse it is a production sites :-( but big thx – s-webz Mar 14 at 16:37
  • I don't know what that means. I use it all the time. – Kevin Mar 14 at 16:38
1

You probably need the module https://www.drupal.org/project/allowed_formats.

Limit which text formats are available for each field instance.

  • Nice! The module does exactly what I was looking for! big thank you. – s-webz Mar 14 at 16:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.