Jump to:

520 Posts in 248 Topics by 263 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » problem pasting in tables from word

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1683 Views
  • Guy Van Bael
    Avatar
    Community Member
    33 Posts

    problem pasting in tables from word Link to this post

    Hi,

    I encountered a problem when pasting in tables from word in de $content-field (tinymce-editor). When pasting, it keeps the formatting from word which causes the table to exceed the content div. I also can't use the "paste as plain text"-option, because then it isn't a table anymore.

    Does anyone have a solution?

    Thanks,
    Guy

  • swaiba
    Avatar
    Forum Moderator
    1788 Posts

    Re: problem pasting in tables from word Link to this post

    How about opening the HTML in a popup and pasting the raw HTML in there?

  • Guy Van Bael
    Avatar
    Community Member
    33 Posts

    Re: problem pasting in tables from word Link to this post

    That's exactly what i did and it keeps the messy html code that word generates.
    I found a pretty decent solution though. Just take the table (from Excel) and past it in this website
    http://www.shancarter.com/data_converter/

    It cleans up the code pretty nicely....

    But.... @Microsoft...please let your products generate decent html...

    Guy

    1683 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.