mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-31 13:05:47 +08:00
Removed logs, Updated version, Fixed inconsistent subheader
This commit is contained in:
@ -74,7 +74,6 @@ function codePlugin() {
|
||||
|
||||
function showPopup(editor) {
|
||||
let selectedNode = editor.selection.getNode();
|
||||
console.log('show ppoe');
|
||||
|
||||
if (!elemIsCodeBlock(selectedNode)) {
|
||||
let providedCode = editor.selection.getNode().textContent;
|
||||
@ -156,7 +155,6 @@ function codePlugin() {
|
||||
$('.CodeMirrorContainer').filter((index ,elem) => {
|
||||
return typeof elem.querySelector('.CodeMirror').CodeMirror === 'undefined';
|
||||
}).each((index, elem) => {
|
||||
console.log('COVERT');
|
||||
codeMirrorContainerToPre($(elem));
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user