Skip to content

fix CamelCase plugins fail#42

Open
cshehadi wants to merge 1 commit into
froala:masterfrom
cshehadi:master
Open

fix CamelCase plugins fail#42
cshehadi wants to merge 1 commit into
froala:masterfrom
cshehadi:master

Conversation

@cshehadi
Copy link
Copy Markdown
Contributor

Documentation says to use CamelCase to set up plugins, but this widget expects underscore. So currently:

'clientPlugins' => ['fontFamily', 'fontSize'], // this causes an error
'clientPlugins' => ['font_family', 'font_size'], // this works

after this fix, you can use either CamelCase or underscore to define a plugin.

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.

1 participant