Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Multiple HTMLEditorConfig in 3.1 #2940

Open
phptek opened this Issue · 0 comments

2 participants

Russell Michell Simon Welsh
Russell Michell

I felt sure something like this would have been reported before, but searching for issues containing "WYSIWYG" and "TinyMCE" yielded nothing similar.

Basically, you can't have multiple HTMLEditorConfig's in the CMS. Or rather you can, but the system always defaults to the first defined one, they are not 100% respected.

After a brief chat with Hamish and Stig I came up with the following, but it does need some additional work.

  • No field subclasses required
  • Just needs additional boolean passed to HTMLEditorField's constructor
  • Odd TinyMCE dropdown behaviour when switching back to default editor ("resolved" by page reload)

See:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.