diff --git a/packages-content-model/roosterjs-content-model-dom/lib/domToModel/utils/isBlockElement.ts b/packages-content-model/roosterjs-content-model-dom/lib/domToModel/utils/isBlockElement.ts index d6226f03e8f..8a599d6d5c5 100644 --- a/packages-content-model/roosterjs-content-model-dom/lib/domToModel/utils/isBlockElement.ts +++ b/packages-content-model/roosterjs-content-model-dom/lib/domToModel/utils/isBlockElement.ts @@ -1,5 +1,4 @@ import { getDefaultStyle } from './getDefaultStyle'; -import type { DomToModelContext } from 'roosterjs-content-model-types'; const BLOCK_DISPLAY_STYLES = ['block', 'list-item', 'table', 'table-cell', 'flex']; diff --git a/packages-content-model/roosterjs-content-model-dom/test/modelToDom/handlers/handleEntityTest.ts b/packages-content-model/roosterjs-content-model-dom/test/modelToDom/handlers/handleEntityTest.ts index 22d74e5c807..71f6472def0 100644 --- a/packages-content-model/roosterjs-content-model-dom/test/modelToDom/handlers/handleEntityTest.ts +++ b/packages-content-model/roosterjs-content-model-dom/test/modelToDom/handlers/handleEntityTest.ts @@ -92,30 +92,6 @@ describe('handleEntity', () => { expect(entityUtils.addDelimiters).toHaveBeenCalledTimes(0); }); - it('Readonly fake entity', () => { - const div = document.createElement('div'); - const entityModel: ContentModelEntity = { - blockType: 'Entity', - segmentType: 'Entity', - format: {}, - wrapper: div, - entityFormat: { - isFakeEntity: true, - isReadonly: true, - }, - }; - - div.textContent = 'test'; - - const parent = document.createElement('div'); - - handleEntityBlock(document, parent, entityModel, context, null); - - expect(parent.innerHTML).toBe('