jQWidgets Forums

jQuery UI Widgets Forums Editors Editor pre not supported

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 10 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • pre not supported #71415

    ldubois
    Participant

    Hi.

    I have to enter code in the jqxEditor as pre.
    I have to switch to view source and enter pre /pre manually.

    <pre>
    12
    34
    </pre>

    Problem is when I go back to normal view all carriage return are removed!
    1234

    When I switch back to view source
    <pre>1234</pre>

    A pre should keep its formatting.

    Please help.

    Thanks.

    pre not supported #71449

    Peter Stoev
    Keymaster

    Hi ldubois,

    Put BR tag at the end of each line if you need a line break.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    pre not supported #71538

    ldubois
    Participant

    HI Peter.

    If I do that, I have to write everything on one line with appropriate br in source view only! It’s not so user-friendly, especially when coming back for changes…
    I expected to write my pre and then switch back to normal view to type content of the pre the usual way.

    pre not supported #71571

    Peter Stoev
    Keymaster

    Hi ldubois,

    We will think how to improve this support in the future versions of the widget. Unfortunately, for now this is the only way.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.