plone / plone.app.widgets

Integrating plone.widgets into plone
Other
7 stars 38 forks source link

TinyMCE is not loading in the static text portlet on Plone 4.3.7 #123

Open cdw9 opened 8 years ago

cdw9 commented 8 years ago

Plone 4.3.7 with only plone.app.widgets activated. Adding a static text portlet anywhere in the site does not use the visual editor.

cdw9 commented 8 years ago
screen shot 2015-12-14 at 4 29 24 pm
petschki commented 8 years ago

you can enable this by overriding tinyce_wysiwyg_support.pt from CMFPlone/skins in your package (jbot) and extend it to something like <textarea class="pat-tinymce" and data-pat-tinymce='{"your": "tinymceconfig"}' /> ... maybe this could be a jbot template in p.a.widgets 1.x branch ...

seanupton commented 8 years ago

@cdw9 FYI this pull request may resolve this issue: https://github.com/plone/plone.app.widgets/pull/144

I have static text portlet working 1.x enhancements (for Plone 4.x) in my fork: https://github.com/upiq/plone.app.widgets

Actually, addendum: You also need this: https://github.com/plone/plone.portlet.static/pull/12