refactor note for page editor js
page editor is getting a bit bulky so it needs some thought to slim it up
This commit is contained in:
parent
82db115baf
commit
a0734724c6
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ export default class PostEditor {
|
|||
//--------------------------
|
||||
// constructor
|
||||
//--------------------------
|
||||
//RECTOR: This file is getting too big and needs to be rethought out
|
||||
constructor() {
|
||||
this.processing = false;
|
||||
this.textSelected = false;
|
||||
|
@ -90,7 +91,7 @@ export default class PostEditor {
|
|||
document.documentElement ||
|
||||
document.body.parentNode ||
|
||||
document.body
|
||||
).scrollTop;
|
||||
).scrollTop;
|
||||
|
||||
// Get cursor position
|
||||
let posX = event.clientX - 110;
|
||||
|
|
Loading…
Add table
Reference in a new issue