Make cloze element children not directly clickable
Only the overlay can be clicked. This way the statre of the elements can not be changed which might be confused for actual value changes. Those can still only be done via properties panel. Unfortunately we need another variable so the cloze elements knows when it runs in the editor or not.
Showing
- projects/common/directives/cloze-child-overlay/compound-child-overlay.component.ts 4 additions, 0 deletions...s/cloze-child-overlay/compound-child-overlay.component.ts
- projects/common/ui-elements/cloze/cloze.component.ts 3 additions, 0 deletionsprojects/common/ui-elements/cloze/cloze.component.ts
- projects/editor/src/app/components/unit-view/page-view/canvas/overlays/canvas-element-overlay.ts 2 additions, 0 deletions...-view/page-view/canvas/overlays/canvas-element-overlay.ts
Please register or sign in to comment