Fix htmlarea being initiated twice

This commit is contained in:
Hadi Nategh 2020-03-11 14:54:39 +01:00
parent d4b9397d62
commit 625c3eb73c
2 changed files with 4 additions and 2 deletions

View File

@ -162,7 +162,8 @@ var et2_editableWidget = /** @class */ (function (_super) {
name: "readonly",
type: "string",
default: false,
description: "If set to 'editable' will start readonly, double clicking will make it editable and clicking out will save"
description: "If set to 'editable' will start readonly, double clicking will make it editable and clicking out will save",
ignore: true // todo: not sure why this used to be ignored before migration by default but not anymore
},
toggle_readonly: {
name: "toggle_readonly",

View File

@ -30,7 +30,8 @@ export class et2_editableWidget extends et2_inputWidget implements et2_ISubmitLi
name: "readonly",
type: "string", // | boolean
default: false,
description: "If set to 'editable' will start readonly, double clicking will make it editable and clicking out will save"
description: "If set to 'editable' will start readonly, double clicking will make it editable and clicking out will save",
ignore: true // todo: not sure why this used to be ignored before migration by default but not anymore
},
toggle_readonly: {
name: "toggle_readonly",