Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fixed whitespace and redundant lines.
lzinga4f6dfeb77369
diff --git a/packages/ckeditor5/src/plugins.ts b/packages/ckeditor5/src/plugins.tsindex 8f4e723f85..b2e4936889 100644--- a/packages/ckeditor5/src/plugins.ts+++ b/packages/ckeditor5/src/plugins.ts@@ -50,7 +50,7 @@ const TRILIUM_PLUGINS: typeof Plugin[] = [CodeBlockLanguageDropdown,CodeBlockToolbar,MoveBlockUpDownPlugin,- ScrollOnUndoRedoPlugin,+ ScrollOnUndoRedoPlugin,InlineCodeNoSpellcheck,];diff --git a/packages/ckeditor5/src/plugins/inline_code_no_spellcheck.ts b/packages/ckeditor5/src/plugins/inline_code_no_spellcheck.tsindex 2411691e4c..49d81195a4 100644--- a/packages/ckeditor5/src/plugins/inline_code_no_spellcheck.ts+++ b/packages/ckeditor5/src/plugins/inline_code_no_spellcheck.ts@@ -3,14 +3,13 @@ import { Plugin } from "ckeditor5";export default class InlineCodeNoSpellcheck extends Plugin {init() {- const editor = this.editor;- editor.conversion.for('downcast').attributeToElement({+ this.editor.conversion.for('downcast').attributeToElement({model: 'code',view: (modelAttributeValue, conversionApi) => {const { writer } = conversionApi;return writer.createAttributeElement('code', {spellcheck: 'false'- }, { priority: 5 });+ });},converterPriority: 'high'});