From 38b7322724ba504c9a9a771da7cf8d56ff9fc58a Mon Sep 17 00:00:00 2001 From: Marta Motyczynska Date: Fri, 10 Nov 2023 11:56:09 +0100 Subject: [PATCH] Update markup for wiki. --- src/app/features/wikieditor.js | 2 +- tests/_util/html/root.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/features/wikieditor.js b/src/app/features/wikieditor.js index 74b11a2..4fbc731 100644 --- a/src/app/features/wikieditor.js +++ b/src/app/features/wikieditor.js @@ -14,7 +14,7 @@ export default class WikiEditor extends Editor { const dom = super.getDom( root ); dom.toolbarContainer = root.querySelector( '.comment-form-head' ); - dom.panels.markdown = root.querySelector( '.previewable-comment-form > file-attachment > .write-content' ); + dom.panels.markdown = root.querySelector( '.js-previewable-comment-form > file-attachment > .write-content' ); delete dom.toolbar; diff --git a/tests/_util/html/root.html b/tests/_util/html/root.html index 92f058e..29c5c6f 100644 --- a/tests/_util/html/root.html +++ b/tests/_util/html/root.html @@ -23,7 +23,9 @@
-
+ +
+