Copied to clipboard

Flag this post as spam?

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


  • David W. 159 posts 284 karma points c-trib
    Jul 01, 2011 @ 09:36
    David W.
    0

    Changing from "Textbox multiple" to "Richtext Editor"

    Can I safely change a propertytype on my document type from "textbox multiple" to "richtext editor" without losing my content? I'm using 4.0.2.1

    Thanks!

  • Barry Fogarty 493 posts 1129 karma points
    Jul 01, 2011 @ 10:52
    Barry Fogarty
    1

    Hi Sledger,  the data in the DB is simply stored as a string so you do not have to worry about losing your content.  As always, it would be wise take a DB backup anyway before you make the change!  I have tried this on 4.7 and it maintained the property data fine.

    One thing to note, text entered in the RTE is normally wrapped in <p> tags, where as textbox multiple text is not wrapped in any HTML.  You may need to go in to each document to make a superficial change like adding a space character to get the RTE to wrap <p> tags around your text.  Alternatively you could handle it in your CSS (i.e. so <div id=content>Lorem Ipsum</div> renders the same as <div id=content><p>Lorem Ipsum</p></div>)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies