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

Fix how TinyMCE configuration options are rendered in JavaScript #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nfletton
Copy link

Currently the options passed to the TinyMCERichTextArea constructor or the provided default options have no effect.

When the options are rendered into JavaScript, they are nested inside an 'options' object that is passed to the the TinyMCE constructor. This results in them being ignored by TinyMCE. This PR removes the nesting so that each of the individual options are passed to TinyMCE as top-level properties of the configuration object.

@riceyrice
Copy link
Contributor

Thanks for this I will take a look this week!

@bright-pan
Copy link

Nice!

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

Successfully merging this pull request may close these issues.

3 participants