Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple HTMLEditorConfig in 3.1 #2940

Closed
phptek opened this issue Mar 10, 2014 · 1 comment
Closed

Multiple HTMLEditorConfig in 3.1 #2940

phptek opened this issue Mar 10, 2014 · 1 comment

Comments

@phptek
Copy link

phptek commented Mar 10, 2014

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:

@tractorcow
Copy link
Contributor

Fixed with #5037, which allows multiple configs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants