I'm using TinyMCE for a while now. It's been 3 months I work on my version.
I"m using Latest version of Tinymce in Rails 5.2 :
i've create a custom element named : "word" cause he comes from an xml.
And Bold/italic / Font-family / Font-sizes and text-color doesnt work on it.
And it works...
This is the reason I don't get why I can't use Bold Button ...
custom_elements : '~word[start]',
extended_valid_elements : 'word[start|style]',
valid_children : "+*[style]"
force_p_newlines : false,
element_format : 'html',
When I try : console.log$('word').style ----> I can access to all word's property and there is everything I want..
Tell me If you need anything else from the code.
Have a great day.