Need help? Check out our Support site, then


Why does my table change formats when I switch from the HTML to Visual Editor?

  1. L&G, if I edit my article

    http://ugroh.wordpress.com/2011/10/06/analysis-1-mathematische-sprache-und-logik/

    moving from the HTML view to the edit view, the my table changes is format. The heading line will become a separat text line and the table itself starts with the first table line (no heading). Also the html text will be formated (which is not the case in the original text).

    Am I doing something wrong? I am using LaTeX tags in the text.

    Regards
    Ulrich
    Blog url: http://ugroh.wordpress.com/

  2. We took a look and everything seems to be working properly. We toggled between the HTML and Visual editors and the table looks the same.

    Does the issue persist? If it does, can you please provide some more information to help clarify the issue?

    Thanks!

  3. That's how it looks now:

    $latex { A }&fg=000000$$latex { B }&fg=000000$$latex { \lnot A }&fg=000000$$latex { A \land B }&fg=000000$$latex { A \lor B }&fg=000000$$latex { A \implies B }&fg=000000$$latex { A \iff B }&fg=000000$
    <table border="1" align="center">
    <tbody>
    <tr>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    </tr>
    <tr>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    </tr>
    <tr>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    </tr>
    <tr>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    </tr>
    </tbody>
    </table>

    ----
    and this is the original:

    <table border="1" align=center><td align=center> $latex { A }&fg=000000$ </td><td align=center> $latex { B }&fg=000000$ </td><td align=center> $latex { \lnot A }&fg=000000$ </td><td align=center> $latex { A \land B }&fg=000000$ </td><td align=center> $latex { A \lor B }&fg=000000$ </td><td align=center> $latex { A \implies B }&fg=000000$ </td><td align=center> $latex { A \iff B }&fg=000000$</td></tr><tr><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 0 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td></tr><tr><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 0 }&fg=000000$ </td><td align=center> $latex { }&fg=000000$ </td><td align=center> $latex { 0 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 0 }&fg=000000$ </td><td align=center> $latex { 0 }&fg=000000$</td></tr><tr><td align=center> $latex { 0 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 0 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 0 }&fg=000000$</td></tr><tr><td align=center> $latex { 0 }&fg=000000$ </td><td align=center> $latex { 0 }&fg=000000$ </td><td align=center> $latex { }&fg=000000$ </td><td align=center> $latex { 0 }&fg=000000$ </td><td align=center> $latex { 0 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td><td align=center> $latex { 1 }&fg=000000$ </td></tr></table>

    --

    not as structured but you can see the difference at the beginning. And still the behavior is as described.

    OS: MAC OS 7.Operating system: Mac OS 10.7.1
    Firefox 7.0.1

  4. It looks like you've since removed the table from your post, is that right?

    In testing this out, I was able to come across the same error where the first row in the table lost its formatting. However, in reinserting some of the <tr> and <td> tags, I was able to get the table to display correctly. Can you try inserting the following and letting me know if this resolves the problem?

    <table border="1" align="Center">
    <tbody>
    <tr>
    <td align="center">$latex { A }&fg=000000$$</td>
    <td align="center">latex { B }&fg=000000$$</td>
    <td align="cneter">latex { \lnot A }&fg=000000$$</td>
    <td align="center">latex { A \land B }&fg=000000$$</td>
    <td align="center">latex { A \lor B }&fg=000000$$</td>
    <td align="center">latex { A \implies B }&fg=000000$$</td>
    <td align="center">latex { A \iff B }&fg=000000$></td>
    </tr>
    <tr>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    </tr>
    <tr>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    </tr>
    <tr>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    </tr>
    <tr>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 0 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    <td align="center">$latex { 1 }&fg=000000$</td>
    </tr>
    </tbody>
    </table>
  5. no, it switches back to the same behavior, i.e. the headings moves before the table command. I edited the formatting in advance - no chance.

    If I delete the first line (= the heading), then the same happens with the next line.

    If the html-code is structured, then nothing happens. But way? An how can I structure the code in advance? Are there programs available?

    Remark: Yes, I have skipped this from the file and I am using a png-image instead.

    Any suggestions?

    Ulrich

  6. Can you describe what you mean by "structured?" Are you referring to the example above, or to your original example?

  7. I mean the example above, i.e.

    -- I copy my original (just as it looks like in my post from Oct 7th

    -- save it

    -- go from html-mode to the visual-editor mode

    -- save it

    -- switch back to html-mode.

    Then everything looks pretty with the exaction of the first line of the original stuff which has moved before the table commands starts.

    Ulrich

  8. Ah, the switching tends to have some adverse affects. The visual editor is a third-party tool, so we don't necessarily have the control over it that we'd like to.

    I recommend writing your post as desired in the Visual tab, then add your table in the HTML tab and publish without switching tabs.

  9. ... publish without switching tabs.

    Thanks for the advice, but this is not possible because of correcting the text adding links etc.

    Regards
    Ulrich

  10. Can you add everything in first, then the table as the very last item?

Topic Closed

This topic has been closed to new replies.

About this Topic