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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
1 additions and
3 deletions
-
docs/api/editor.md
-
src/editor/index.js
-
src/rich_text_editor/index.js
|
|
|
@ -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 |
|
|
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|
@ -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'; |
|
|
|
|