diff --git a/renderer/src/components/EditorPage/TextEditor/hooks/htmlmap.js b/renderer/src/components/EditorPage/TextEditor/hooks/htmlmap.js index e9b9d9729..7f712c9f2 100644 --- a/renderer/src/components/EditorPage/TextEditor/hooks/htmlmap.js +++ b/renderer/src/components/EditorPage/TextEditor/hooks/htmlmap.js @@ -19,6 +19,16 @@ const htmlMap = (context) => ({ '*': { tagName: 'p', }, + 'usfm:mt': { + classList: ['major-title paragraph mt hidden'], + tagName: 'h2', + attributes: { contenteditable: false }, + }, + 'usfm:ms': { + classList: ['major-section-heading paragraph ms'], + tagName: 'h3', + attributes: { contenteditable: false }, + }, }, mark: { '*': {