Posted - 09/18/2018 : 19:26:51
Hi Vince, just ran the v7.0.0 updater and great to see you now have the Fullscreen button working in Froala.  quote: We have a solution now so that Froala will now use the site CSS files for the editor
Your solution presumes the "site CSS files" will be named: (1) ../css/ ectstyle.css(2) ../css/ style.csswhich in most cases will just not be so. And we really don't wont to be loading heaps of styles not relevant to the "article" area in a webpage. Many will then also run into website background images and colors appearing inside the Froala editor; the same issues raised here before whenever CK Editor loaded entire website CSS. Can't we just create one "../css/ froalacustom.css" stylesheet that contains a few basic Heading, Paragraph and Layout styles for Froala to use inside the Admin Panel, exactly the same as CK Editor worked using the " ckeditor.css" stylesheet ?? - - - - - - - - - - - - - - - - - - - - Edit: Just created and uploaded a custom " style.css". Froala loads and displays the styles I entered into that sheet just fine inside the Admin Panel. But when you select a paragraph (or span) of text, there is really no way to apply any custom CSS style to it, apart from a manual code edit. No toolbar dropdown menu to open containing a list of your Paragraph, Heading, Custom style names, like we have in CK Editor. The Froala " Paragraph Format" and " Paragraph Style" menu entries are hard coded in the plugin " paragraph_format.min.js" and " paragraph_style.min.js" javascript files. " font_size.min.js" defines font sizing adjustments in pixels. For responsive design, percentage is the shot, which I guess could be resolved by editing that file. Those are some basic issues I found with Froala, which leave it behind the more customisable CK Editor. Gary 
Edited by - ITZAP on 09/18/2018 20:48:49
|