Unplanned
Last Updated: 31 May 2022 20:57 by Paul
Paul
Created on: 31 May 2022 20:57
Category: Editor
Type: Feature Request
1
Classic Mode - <pre> retain new lines

Hi Team,

I'd like to request the functionality to retain the new lines for a <pre> element within a Kendo UI Editor using classic mode(<textarea>).  Currently, it does have allow a new space within the pre element:

Editor

        <textarea id="editor" rows="10" cols="30" style="width:100%; height:450px" aria-label="editor">
          <pre>
            Example
            Example
          </pre>
        </textarea>

JavaScript

        $(document).ready(function () {
            // create Editor from textarea HTML element with default set of tools
            $("#editor").kendoEditor({
                resizable: {
                    content: true,
                    toolbar: true
                }
            });
        });

Please take a look at this Progress Kendo UI Dojo using the code above.

Thank you!

0 comments