Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Roger 195 posts 474 karma points
    Nov 24, 2015 @ 09:47
    Roger
    0

    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

  • Roger 195 posts 474 karma points
    Nov 24, 2015 @ 12:01
    Roger
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft