fabiorino / crelly-slider

A free responsive slider for WordPress that supports layers. Add texts, images, videos and beautify them with transitions and animations.
MIT License
104 stars 36 forks source link

Filter tinyMCE options #51

Closed dlaxar closed 6 years ago

dlaxar commented 6 years ago

Hi,

I'd like to add a custom font to the editor. This works for the Wordpress core editors and also the "useless" editor on the crelly-slider page but it does not work on the element-editor (for slide elements).

The underlying problem is, that the crelly-slider uses static, non-modifyable options (https://github.com/fabiorino/crelly-slider/blob/master/wordpress/js/admin.js#L899). I'd like to change that and extract these options to PHP and make them filterable (similar to https://codex.wordpress.org/TinyMCE#Customize_TinyMCE_with_Filters). I'd implement this change myself but I wanted to check in with the community if this is something you'd consider good and useful.

Looking forward to your reply, Daniel

fabiorino commented 6 years ago

It definitively is, I would really appreciate that feature!