Browse Source

Up SelectComponent

pull/5337/head
Artur Arseniev 3 years ago
parent
commit
28333cec4b
  1. 4
      src/commands/view/SelectComponent.ts

4
src/commands/view/SelectComponent.ts

@ -229,7 +229,6 @@ export default {
*/
showElementOffset(el: HTMLElement, pos: any, opts: any = {}) {
if (!showOffsets) return;
console.log('showElementOffset');
this.editor.runCommand('show-offset', {
el,
elPos: pos,
@ -246,7 +245,6 @@ export default {
* @param {Object} pos
*/
hideElementOffset(view: any) {
console.log('hideElementOffset');
this.editor.stopCommand('show-offset', {
view,
});
@ -258,7 +256,6 @@ export default {
* @param {Object} pos
*/
showFixedElementOffset(el: HTMLElement, pos: any) {
console.log('showFixedElementOffset');
this.editor.runCommand('show-offset', {
el,
elPos: pos,
@ -272,7 +269,6 @@ export default {
* @param {Object} pos
*/
hideFixedElementOffset() {
console.log('hideFixedElementOffset');
if (this.editor) this.editor.stopCommand('show-offset', { state: 'Fixed' });
},

Loading…
Cancel
Save