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