[Plone-UI] Add new tables to tinyMCE
espen
espen at medialog.no
Thu Oct 10 11:42:09 UTC 2013
You will have to do two things:
1) Add the style that can be used in Tiny MCE
2) add the CSS.
You might consider doing it this way:
1) In the TinyMCE control panel ( /portal_tinymce/@@tinymce-controlpanel , add the table style name you want to use at the bottom
2) Add (if it is not already there) a file in /portal_skins/custom/ with name ploneCustom.css
3) add the css for your table-style in ploneCustom.css file
4) Restart plone (or put /portal_css in debug mode)
When everything is working, consider this
1) go to /portal_setup and export the tinymce settings
2) add the relevant lines to a tiny mcd xml file in /profiles/default (or more precise: just keep "relevant stuff" in the xml you just exported
3) Copy the css from ploneCustom.css to your theme (or product)
Espen
10. okt. 2013 kl. 11:19 skrev "Gerhard Hug [via Plone]" <ml-node+s293351n7568237h0 at n2.nabble.com>:
> Hi
>
> Can anyone explain me how to add a new kind of table with specific styles to tinyMCE editor?
> Many thanks for answers.
>
> Best regards
> Gerhard
> _______________________________________________
> UI mailing list
> [hidden email]
> https://lists.plone.org/mailman/listinfo/plone-ui
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://plone.293351.n2.nabble.com/Add-new-tables-to-tinyMCE-tp7568237.html
> To start a new topic under User Interface & Design, email ml-node+s293351n293357h20 at n2.nabble.com
> To unsubscribe from Plone, click here.
> NAML
--
View this message in context: http://plone.293351.n2.nabble.com/Add-new-tables-to-tinyMCE-tp7568237p7568242.html
Sent from the User Interface & Design mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-ui/attachments/20131010/4b6e7ab2/attachment-0001.html>
More information about the UI
mailing list