WordPress.org

Forums

[resolved] WP 3.9 editor not saving paragraphs in tables (6 posts)

  1. Stonenote
    Member
    Posted 1 year ago #

    Have WP 3.9 have tested with four+ different themes including default 2014 (others are 2 child themes and regular themes 2011, 2012 and Pico light). I have deleted all plugins except Askimet. I am currently working with default 2014 theme.

    Seems when using editor on a page in visual mode, you can create a new paragraph and then go to text mode work and it saves it just fine.

    But if you have a table, that has paragraphs, if you go work on it in text more to add code, save it or go back to visual mode, it is stripping the paragraphs and running the items together. You don't even have to go to the text mode. It saves it and strips the paragraphs. It is the tables in all of these that seems to be the difference.

    I have added different plugins that work on the editor to see if I can get the paragraphs to stay and nothing so far has worked. Even the images in the tables are not behaving. So defined my own css for the images to make them stable.

    BTW was working great in 3.8 with ultimate tinyMCE then it got upgraded. Bummer. Then deleted pages and started again thinking that was the problem. This version of WP seems to be running sketchy for me.
    Also, it would be nice to have <p> tags stay if you define them or at least be given a choice. Just throwing that in.

    website: http://drparti.com
    page with problems: http://drparti.com/books/
    page view image: http://drparti.com/images/forum-page-view.jpg
    admin visual view: http://drparti.com/images/forum-admin-visual.jpg
    admin text view of code: http://drparti.com/images/forum-html-source.jpg

    Maybe someone else is having a problem with tables and paragraphs. I have other jobs and right now I don't want to upgrade them.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    But if you have a table, that has paragraphs, if you go work on it in text more to add code, save it or go back to visual mode, it is stripping the paragraphs and running the items together.

    Don't try to add HTML markup & them switch to the Visual editor. That's the fastest way to remove some (or all) of your markup. Pick a tab and stick to it.

    An I ask why you have paragraph markup in tables in the first place? Tables are supposed to be for tabulated data (like a spreadsheet) and paragraphs make no sense in this context.

  3. Stonenote
    Member
    Posted 1 year ago #

    Don't try to add HTML markup & them switch to the Visual editor. That's the fastest way to remove some (or all) of your markup. Pick a tab and stick to it.

    So after we program it, the client then can be able to update the content and they don't write code. Also another programer comes in and views it in visual mode. When you have more than one person working on a site that is a problem. Also until someone gets a good html editor after this upgrade it is a problem. This was supposed to make life easier and it isn't - its like 3 steps back on the editor.

    An I ask why you have paragraph markup in tables in the first place?

    Because t keeps sections together and is easily translated to email programs which use tables. I may also want a list of links in a column associated with 1 item. Tables aren't just for numbers or shouldn't be.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    This was supposed to make life easier and it isn't

    Unfortunately, this one of the drawbacks of the TinyMCE editor that was ported into (not created by) WordPress. Have you considered using one of the editor plugins?

    Tables aren't just for numbers or shouldn't be.

    Using tables for layout has been deprecated since about... oh... 2002. These days, you really should be using CSS for presentation - not markup.

  5. Stonenote
    Member
    Posted 1 year ago #

    Yes I have tried CKeditor, advanced code editor, html editor syntax highlighter, insert html snippet, preserved html editor markup, visual editor custom buttons, TinyMCE and TinyMCE Advanced Professsional Formats and Styles, and a few more. This isn't for one website either this is for twelve different websites. Unless you have a few I haven't tried - I'm willing. I've just noticed that this new version threw people for a loop so to speak.

    As the guy said on another support post this new editor was stripping out code he put in for mouseover he has on 3000 images. This it should NOT be doing if it worked before.

    Yes tables are 'passe', unfortunately with emailing programs you do still use tables as you are limited because of platforms and browsers. Also, clients understand tables and they can use them. They don't know how to use CSS and you can't add CSS through the editor unless you are going into text editor/code. Don't get me wrong... CSS is fine I really like it - I use it mostly on my own website just not on clients.

    Just trying to figure out the best way to rework on the websites I now have to fix. That's all.

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    This it should NOT be doing if it worked before.

    TinyMCE has always done this. We've been warning people about it on these forums for years. My guess is that it's part & parcel of trying to create a lightweight WYSIWYG editor.

    If you really want to use tables, have you had a look at http://wordpress.org/plugins/tablepress/ I've had clients use that very successfully.

Topic Closed

This topic has been closed to new replies.

About this Topic