isotoma / wagtailtinymce

A TinyMCE editor integration for Wagtail
https://pypi.python.org/pypi/wagtailtinymce
Other
43 stars 63 forks source link

setMCEOption missing from latest version #20

Open nmckey opened 6 years ago

nmckey commented 6 years ago

Hi - it looks like there is not setMCEOption function in 4.2.1.5 so I am unable to set style formats the same way one could in an earlier version. Is this by design or should this be done an alternative way? Trying to add styles via tinymce.init as indicated by the tinymce site site does not appear to work (I think it is overwritten by the wagtail integration or the object is not exposed).

BTW I had a degree of success adding the function to tinymce-editor.js and was able to pull the style formatting through. However I am checking whether this is the correct way to achieve this.

d-g-h commented 6 years ago

Related to #7, solution is here, https://github.com/isotoma/wagtailtinymce/issues/7#issuecomment-256324157, and is solved by https://github.com/isotoma/wagtailtinymce/pull/8