mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
feat(editor): functional autoformat when type is not specified
This commit is contained in:
@@ -18,6 +18,7 @@ import type { DocumentFragment, Element, Position, Range, Schema, Writer } from
|
||||
*/
|
||||
|
||||
export const admonitionTypes = [ "note", "tip", "important", "caution", "warning" ] as const;
|
||||
export const defaultAdmonitionType = admonitionTypes[0];
|
||||
export type AdmonitionType = typeof admonitionTypes[number];
|
||||
|
||||
interface ExecuteOpts {
|
||||
|
||||
Reference in New Issue
Block a user