Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanValverdeU committed Nov 26, 2024
1 parent c98a850 commit 03d2d37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { convertInlineCss, retrieveCssRules } from './convertInlineCss';
import { createDomToModelContextForSanitizing } from './createDomToModelContextForSanitizing.1';
import { createDomToModelContextForSanitizing } from './createDomToModelContextForSanitizing';
import { createEmptyModel, domToContentModel, parseFormat } from 'roosterjs-content-model-dom';
import type {
ContentModelDocument,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { DomToModelOptionForSanitizing } from 'roosterjs-content-model-types';
import { pasteBlockEntityParser } from '../../../lib/override/pasteCopyBlockEntityParser';
import { pasteDisplayFormatParser } from '../../../lib/override/pasteDisplayFormatParser';
import { pasteTextProcessor } from '../../../lib/override/pasteTextProcessor';
import { pasteWhiteSpaceFormatParser } from '../../../lib/override/pasteWhiteSpaceFormatParser';

describe('createDomToModelContextForSanitizing', () => {
const mockedPasteGeneralProcessor = 'GENERALPROCESSOR' as any;
Expand Down Expand Up @@ -61,6 +62,7 @@ describe('createDomToModelContextForSanitizing', () => {
},
formatParserOverride: {
display: pasteDisplayFormatParser,
whiteSpace: pasteWhiteSpaceFormatParser,
},
additionalFormatParsers: {
container: [containerSizeFormatParser],
Expand Down Expand Up @@ -106,6 +108,7 @@ describe('createDomToModelContextForSanitizing', () => {
},
formatParserOverride: {
display: pasteDisplayFormatParser,
whiteSpace: pasteWhiteSpaceFormatParser,
},
additionalFormatParsers: {
container: [containerSizeFormatParser],
Expand Down

0 comments on commit 03d2d37

Please sign in to comment.