clone: don't copy 'editing' class to prevent false editor selection rectangle

This commit is contained in:
jean-emmanuel 2018-12-31 17:46:25 +01:00
parent 3831631f0a
commit 96cf36a47a
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,8 @@
## 0.40.5
- bug fixes
- clone: editor's selection rectangle appearing after editing the clone's target widget
- widgets
- input: hitting `tab` now validates the value before focusing the next input (hitting `esc` or clicking outside the widget still cancels); when focusing an input widget, its whole value is selected by default; focused/selected text color hint changes.

View file

@ -6,7 +6,7 @@ var Container = require('../common/container'),
{diff, diffToWidget} = require('../../editor/diff'),
html = require('nanohtml')
var excludedCloneClasses = ['widget', 'absolute-position', 'ui-resizable', 'ui-draggable', 'not-editable']
var excludedCloneClasses = ['widget', 'absolute-position', 'ui-resizable', 'ui-draggable', 'not-editable', 'editing']
class Clone extends Container {