Hi all,
By default the Fanoe package has a set of styles available in the RTE when using the grid system.
Header, Header 2, Header 3 etc etc
When i apply one of these styles to line of text, nothing happens.
I was hoping for the line of text to be a H1, H2, H3 etc when applied.
Anyone know how I can acheive this so the editor can change a line of text to a correctly marked up 'H' tag in the RTE?
Currently, adding a line of text in the RTE is wrapped in a 'P' tag then any styles seem to added to a span inside the 'P'
Ideally, selecting a line of text that is by default 'P' then changing it to one of the Header styles, it should change the 'P' to a 'H' tag right?
Grid system RTE issues
Hi all, By default the Fanoe package has a set of styles available in the RTE when using the grid system. Header, Header 2, Header 3 etc etc
When i apply one of these styles to line of text, nothing happens. I was hoping for the line of text to be a H1, H2, H3 etc when applied.
Anyone know how I can acheive this so the editor can change a line of text to a correctly marked up 'H' tag in the RTE?
Currently, adding a line of text in the RTE is wrapped in a 'P' tag then any styles seem to added to a span inside the 'P' Ideally, selecting a line of text that is by default 'P' then changing it to one of the Header styles, it should change the 'P' to a 'H' tag right?
Thanks
Update: It appears the best way to acheive this is to add specific editors to the Grid DataType into the grid.editors.config.js
This would output clean tags and by not adding styles to the .js, the css can easily be modified in the settings.
is working on a reply...