Move holder
This commit is contained in:
parent
e83cba6a3f
commit
55ad112924
|
@ -89,8 +89,6 @@ function addIndicator(editor, indicator) {
|
|||
}
|
||||
}
|
||||
|
||||
let holder = document.getElementById('editor');
|
||||
|
||||
function showSearchResults(searchTool, query, input, value, resultType) {
|
||||
return showSearchResultsExtended('#link-complete', 'link-template', searchTool, query, input, value, resultType, {
|
||||
showOnlyResults: true,
|
||||
|
@ -212,6 +210,7 @@ MD.use(MarkdownItWikilinks({
|
|||
},
|
||||
})).use(MarkdownItMark).use(MarkdownItKatex)
|
||||
|
||||
let holder = document.getElementById('editor');
|
||||
if (holder) {
|
||||
const options = {
|
||||
transform(text, element) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user