[Plone-UI] Add new tables to tinyMCE

Dylan Jay djay at pretaweb.com
Thu Oct 10 11:54:26 UTC 2013


This is process I'd love to improve for plone5.
Possibly by making some tinymce settings like styles come directly from the current diazo theme.

Dylan Jay

---
www.pretagov.com - Secure SaaS for Government hosted locally.
P: +61-2-9955-2830  +44-87-0392-7071 | linkedin.com/in/djay75



On 10/10/2013, at 8:42 AM, espen <espen at medialog.no> wrote:

> 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]" <[hidden email]>:
> 
>> 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 
>> <a href="x-msg://24/user/SendEmail.jtp?type=node&node=7568237&i=0" target="_top" rel="nofollow" link="external">[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 [hidden email] 
>> To unsubscribe from Plone, click here.
>> NAML
> 
> 
> View this message in context: Re: Add new tables to tinyMCE
> Sent from the User Interface & Design mailing list archive at Nabble.com.
> _______________________________________________
> UI mailing list
> UI at lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-ui



More information about the UI mailing list