>
> Here's the thing: I'm working on integrating  http://markitup.jaysalvat.com
> MarkItUp editor , but AFAICT it'd be the first Plone editor capable of
> editing other than just text/html. The plone.app.portlet uses WYSIWYGWidget,
> isn't sophisticated enough to turn itself off when it can't handle the
> markup type chosen. That's fine for MarkItUp, but not TinyMCE, Kupu, or
> CKEditor. The widget is chosen at Add/EditForm time, so I'd need some voodoo
> to make it switch for editors besides my own. I don't think that logic
> belongs in my product, but rather in the widget itself.
>
> But this is more yak shaving than I wanted to do just to create an
> arbitrary-markup enabled portlet, which is why I think it's reasonable to
> create a new portlet rather than patching the existing static text portlet.

- I suggest to create a new portlet as this is rare use case, aimed
for technical people (I think). Copy-pasting all static text portlet
code is easy as it's very trivial portlet.

- Plone has RichTextWidget which comes with mark-up chooser for HTML,
reST and plain-text. WysiwygWidget does only HTML.


-- 
Mikko Ohtamaa
mFabrik - Freedom Delivered.

Web site - http://mfabrik.com
Mobile site - http://mfabrik.mobi
Blog - http://blog.mfabrik.com
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to