1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Mobile: Performance: Improve Rich Text Editor startup performance (#12819)

This commit is contained in:
Henry Heino
2025-07-30 02:52:57 -07:00
committed by GitHub
parent 4c3eca1f18
commit 5e70bce2c3
10 changed files with 59 additions and 25 deletions

View File

@@ -3,16 +3,10 @@ import HtmlToHtml from './HtmlToHtml';
import htmlUtils from './htmlUtils';
import { Options as NoteStyleOptions } from './noteStyle';
import { AllHtmlEntities } from 'html-entities';
import { FsDriver, MarkupRenderer, MarkupToHtmlConverter, OptionsResourceModel, RenderOptions, RenderResult } from './types';
import { FsDriver, MarkupLanguage, MarkupRenderer, MarkupToHtmlConverter, OptionsResourceModel, RenderOptions, RenderResult } from './types';
import defaultResourceModel from './defaultResourceModel';
const MarkdownIt = require('markdown-it');
export enum MarkupLanguage {
Markdown = 1,
Html = 2,
Any = 3,
}
export interface PluginOptions {
[id: string]: { enabled: boolean };
}