Re: Future of TinyMCE (Mockup, Plone 5)

Rok Garbas <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <20131105235658.4141.46598@oskar>
Quoting Dylan Jay (2013-11-05 22:12:20)
> On 06/11/2013, at 12:12 AM, Rok Garbas <[email protected]> wrote:
> 
> > Quoting Dominik (2013-11-05 13:29:01)
> >> Hi,
> >>
> >> if I understand correctly TinyMCE will be based on Mockup in Plone 5.
> >> Currently there is no way to customize TinyMCE in plone.app.widgets.
> >> What I'm missing is custom (table) styles. (I'd also like to enable text
> >> coloring and enable/disable some custom plugins)
> >>
> >> Is the customization of TinyMCE simply not implemented yet or will this not
> >> be possible in Plone 5?
> >
> > not implemented yet. a bit of work is planned for next week sprint (it will be
> > possible to configure tinymce via p.a.registry). but full blown forms will have
> > to wait for a bit more. just matter of priorities.
> 
> Btw I don't know if anyone has thought about this yet but it would be
> a lot more useful if custom tinymce styles were defined in the diazo
> theme rather than the registry.
> The CSS that implements the styles will be in the theme and when a
> theme is activated those are the list of styles the editor should have
> available.
> 

with toolbar we actually copy styles from top frame into tinymce's iframe so
you get same styles as you would expect after you save the document. i have no
idea why we didnt do this before.


--
Rok Garbas - http://www.garbas.si

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.