Readonly mode in /pad had contenteditable set to true
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
|
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
|
||||||
<link rel="stylesheet" href="/bower_components/components-font-awesome/css/font-awesome.min.css">
|
<link rel="stylesheet" href="/bower_components/components-font-awesome/css/font-awesome.min.css">
|
||||||
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
|
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
|
||||||
<script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
|
|
||||||
<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css">
|
||||||
<script src="/bower_components/ckeditor/ckeditor.js"></script>
|
<script src="/bower_components/ckeditor/ckeditor.js"></script>
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@@ -700,7 +700,7 @@ define([
|
|||||||
|
|
||||||
Cryptpad.getLastName(function (err, lastName) {
|
Cryptpad.getLastName(function (err, lastName) {
|
||||||
console.log("Unlocking editor");
|
console.log("Unlocking editor");
|
||||||
setEditable(true);
|
setEditable(!readOnly);
|
||||||
initializing = false;
|
initializing = false;
|
||||||
Cryptpad.removeLoadingScreen(emitResize);
|
Cryptpad.removeLoadingScreen(emitResize);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user