jQWidgets Forums

jQuery UI Widgets Forums Editors Editor editable: false – but backspace / del still works

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • badera
    Participant

    Dear jqWidgets Team

    There is an issue in jqx-editor. If we set the editable setting to false, we still can delete text by using the del and backspace keys.

    <!DOCTYPE html>
    <html lang="en" ng-app="demoApp">
    <head>
        <title id="Description">jqxEditor directive for AngularJS</title>
        <link rel="stylesheet" type="text/css" href="../../jqwidgets/styles/jqx.base.css"/>
        <script type="text/javascript" src="../../scripts/angular.min.js"></script>
        <script type="text/javascript" src="../../scripts/jquery-1.11.1.min.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqx-all.js"></script>
        <script type="text/javascript">
            var demoApp = angular.module("demoApp", ["jqwidgets"]);
            demoApp.controller("demoController", function ($scope) {
                $scope.content = "This text should not be modifiable";
                $scope.editorSettings = {
                    width: 800,
                    height: 300,
                    editable: false
                };
            });
        </script>
    </head>
    <body>
    <div ng-controller="demoController">
        <jqx-editor jqx-settings="editorSettings" ng-model="content"></jqx-editor>
    </div>
    </body>
    </html>

    I hope that this will be fixed for the next release! Thanks in advance.
    – badera


    Peter Stoev
    Keymaster

    Hi badera,

    We’ll look into that. In case we confirm it, it will be fixed in future update.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.