Browse Source

Merge pull request #3953 from bernhardmiller/remove-canvas-scroll-traces

remove traces of removed canvasScroll event
pull/3980/head
Artur Arseniev 5 years ago
committed by GitHub
parent
commit
d97efb3108
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docs/api/editor.md
  2. 1
      src/editor/index.js
  3. 2
      src/rich_text_editor/index.js

1
docs/api/editor.md

@ -124,7 +124,6 @@ Check the [Pages][8] module.
### General
* `canvasScroll` - Canvas is scrolled
* `update` - The structure of the template is updated (its HTML/CSS)
* `undo` - Undo executed
* `redo` - Redo executed

1
src/editor/index.js

@ -90,7 +90,6 @@
* ### Pages
* Check the [Pages](/api/pages.html) module.
* ### General
* * `canvasScroll` - Canvas is scrolled
* * `update` - The structure of the template is updated (its HTML/CSS)
* * `undo` - Undo executed
* * `redo` - Redo executed

2
src/rich_text_editor/index.js

@ -34,7 +34,7 @@ export default () => {
let config = {};
let toolbar, actions, lastEl, lastElPos, globalRte;
const eventsUp =
'change:canvasOffset canvasScroll frame:scroll component:update';
'change:canvasOffset frame:scroll component:update';
const hideToolbar = () => {
const style = toolbar.style;
const size = '-1000px';

Loading…
Cancel
Save