rewrite wysiwyg property updating (#1387)

* rewrite wysiwyg property updating

* reuse existing class

* fix case of focus being stolen by other UIs

* revert mistake csp removal

* ensure we don't run cleanup twice

* fix opacity updating

* add shape actions menu class to constants
This commit is contained in:
David Luzar 2020-04-12 15:57:57 +02:00 committed by GitHub
parent d79c859cd9
commit 6771b505ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 73 additions and 80 deletions

View file

@ -68,8 +68,3 @@ export type ResizeArrowFnType = (
pointerY: number,
perfect: boolean,
) => void;
export type WysiwigElement = {
submit: () => void;
changeStyle: (style: Record<string, any>) => void;
};