logo

New Response

« Return to the blog entry

You are replying to:

  1. Hi Jake...

    I currently have this problem too... I found that in the new version of the "TinyMCE", that they have a "save_callback" function where you can modify the html that is being saved.

    The reason why i say this, is that the HTML you are saving from "TinyMCE" is being saved in one continuous string. Therefore domino needs to insert a paragraph break if the string goes over it's paragraph size limit for a RichText field.

    Using the "save_callback" function for "TinyMCE", you can insert your own paragraph break (i.e. '\n') into the HTML.

    Example:

    HTML = ReplaceSubString(HTML, "</p>", "</p>\n")

    Using the example above, the code will append a "\n" after each new paragraph. Domino will interpret this as a new paragraph (i.e. carriage return). Thus fixing your problem!!!

    Later

    Patrick

    P.S. This solution is currently working in a Domino 6.5.4 environment.

    P.P.S. Can you let me know if the fix for 6.5.5. works???

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: