• I created a table in Text edit mode, including <center> </center> to centre the table (not the text).
    On switching to Visual and back to Text the <center> codes disappear!
    There seems no way to centre a table in Visual mode, by the way, which may be why this happens.
    Since <center> code is recognised provided you Publish from Text mode then it can’t be deprecated/ignored.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kevjon

    (@kevjon)

    Just read the thread below: “Keep Line Breaks” missing in 3.9.1″ which refers also to data lost on switching edit modes. Looks like another example here.

    Yes, there are a few tags which are removed by the visual editor. An alternative way to centre a table is to use something like this for your table markup:

    <table style="width:50%; margin:auto">

    That’s right.
    Always uses CSS to add extra styling element rather than a tag.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Data lost on switching Text/Visual edit’ is closed to new replies.