From 396a60f518d0633ab274bc50c19165ea2fa6eda1 Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Fri, 21 May 2021 10:42:46 +0200 Subject: [PATCH] Update cmenuDialog.js --- src/editor/dialogs/cmenuDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor/dialogs/cmenuDialog.js b/src/editor/dialogs/cmenuDialog.js index da6129d3..385c75ee 100644 --- a/src/editor/dialogs/cmenuDialog.js +++ b/src/editor/dialogs/cmenuDialog.js @@ -146,8 +146,8 @@ export class SeCMenuDialog extends HTMLElement { this.$moveBackLink = this._shadowRoot.querySelector('#se-move-back'); } init (i18next) { - var textnode = document.createTextNode(newValue); - this._shadowRoot.querySelector('#se-cut').prepend(textnode); + console.log(i18next); + this.setAttribute('toolscut', 'a test'); } /** * @function observedAttributes