You've already forked joplin
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:
@@ -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 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user