Re: Diazo observations: entities and WYSIWYG

Rok Garbas <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <20131125124038.3254.23430@oskar>
Quoting Tom Gross (2013-11-25 12:22:12)
> Hello list
> 
> Here are two observations I made using Diazo in some of my Plone setups:
> 
> 1. HTML entities: As Diazo is using XSLT transformations all HTML 
> entities are translated [1]. This is no problem at the first place but 
> some mail obfuscation methods seem to cease working. Including the one 
> shipped with Plone itself [2]. Maybe there are better ways to obuscate 
> mails but if so the method in Plone should be updated to an effective 
> and working! one.
> 
> Any pointers to non-javascript, non-enity e-mail obfuscation methods are 
> appreciated.
> 

looks like a bug. or at least we need a test for this.

> 2. WYSIWYG experience: I tried to ship ZIP themes which works pretty 
> nice despite of one fact. You don't have a WYSIWYG experience with them. 
> TinyMCE is using a CSS which is compiled from styles found in the 
> resource registry and does not know about the transformation which takes 
> place afterwards with Diazo. The only solution I found to teach TinyMCE 
> the correct content styles is still to provide a Python egg as a theme 
> (sigh!) with one CSS registry entry handling the (table, paragraph, 
> etc.) stylings of the content area.
> 
> Did I miss anything?
> 

in mockup tinymce pattern we copy top frame css into tinymce iframe.

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

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&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.