WYSISYG, TinyMCE, Typography.css etc.

Permalink
Can someone confirm since 5.4 upgrade there is a problem with TinyMce. It doesn't seem that changes to typography.css or editor_config.php are making any effect on styles, fonts, etc in the editor.

Has procedures for adding styles or modifying TinyMCE changed? I was able to do it 5.3

Thanks a lot

pvernaglia
 
mario replied on at Permalink Reply
mario
they made some changes to how TinyMCE applies styles in the latest version. 5.4.0.5 supposedly fixes a number of them but there are still issues. For CSS styles TinyMCE now wraps elements in a span with an ID. Search the forum for some workarounds people have posted for the time being.
pvernaglia replied on at Permalink Reply
pvernaglia
It looks to me like Tiny is wrapping text with a p tag. In 5.3 you could edit editor_config and change or add: convert_fonts_to_spans : "true"

That rocked, then you had spans that you could assign styles to in Tiny and p tags where paragraph breaks. That made it easy to get around all the line spacing problems with Tiny. I'd like to get back to that mode of operation but my editor_config file doesn't work anymore.
ryanjohnjackson replied on at Permalink Reply
ryanjohnjackson
Has anyone come up with a fix for this?
adamjohnson replied on at Permalink Reply
adamjohnson
Honestly the best solution is to avoid typography.css altogether.

Check out the Designer Content block, it's a great and reliable stand-in for typography.css:

http://www.concrete5.org/marketplace/addons/designer-content/...
ryanjohnjackson replied on at Permalink Reply
ryanjohnjackson
I'll try it tonight.

Thanks ;)