All files / roosterjs-content-model-api/lib index.ts

100% Statements 124/124
100% Branches 0/0
37.1% Functions 23/62
100% Lines 62/62

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 651x 1x 1x 1x 1x 3x 3x 3x 3x 3x 1x 1x 1x 1x 1x 1x 1x 5x 1x 1x 37x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 3x 1x 1x 1x 1x 1x 1x 1x 1x 3x 2x 2x   1x 3x 1x 1x 1x 151x 4x   13x 13x 3x 8x 21x 5x 42x 27x 17x  
export { insertTable } from './publicApi/table/insertTable';
export { formatTable } from './publicApi/table/formatTable';
export { setTableCellShade } from './publicApi/table/setTableCellShade';
export { editTable } from './publicApi/table/editTable';
export { applyTableBorderFormat } from './publicApi/table/applyTableBorderFormat';
export { toggleBullet } from './publicApi/list/toggleBullet';
export { toggleNumbering } from './publicApi/list/toggleNumbering';
export { toggleBold } from './publicApi/segment/toggleBold';
export { toggleItalic } from './publicApi/segment/toggleItalic';
export { toggleUnderline } from './publicApi/segment/toggleUnderline';
export { toggleStrikethrough } from './publicApi/segment/toggleStrikethrough';
export { toggleSubscript } from './publicApi/segment/toggleSubscript';
export { toggleSuperscript } from './publicApi/segment/toggleSuperscript';
export { setBackgroundColor } from './publicApi/segment/setBackgroundColor';
export { setFontName } from './publicApi/segment/setFontName';
export { setFontSize } from './publicApi/segment/setFontSize';
export { setTextColor } from './publicApi/segment/setTextColor';
export { changeFontSize } from './publicApi/segment/changeFontSize';
export { applySegmentFormat } from './publicApi/segment/applySegmentFormat';
export { changeCapitalization } from './publicApi/segment/changeCapitalization';
export { splitTextSegment } from './publicApi/segment/splitTextSegment';
export { insertImage } from './publicApi/image/insertImage';
export { setListStyle } from './publicApi/list/setListStyle';
export { setListStartNumber } from './publicApi/list/setListStartNumber';
export { setIndentation } from './publicApi/block/setIndentation';
export { setAlignment } from './publicApi/block/setAlignment';
export { setDirection } from './publicApi/block/setDirection';
export { setHeadingLevel } from './publicApi/block/setHeadingLevel';
export { toggleBlockQuote } from './publicApi/block/toggleBlockQuote';
export { setSpacing } from './publicApi/block/setSpacing';
export { setImageBorder } from './publicApi/image/setImageBorder';
export { setImageBoxShadow } from './publicApi/image/setImageBoxShadow';
export { changeImage } from './publicApi/image/changeImage';
export { getFormatState } from './publicApi/format/getFormatState';
export { clearFormat } from './publicApi/format/clearFormat';
export { insertLink } from './publicApi/link/insertLink';
export { removeLink } from './publicApi/link/removeLink';
export { adjustLinkSelection } from './publicApi/link/adjustLinkSelection';
export { setImageAltText } from './publicApi/image/setImageAltText';
export { adjustImageSelection } from './publicApi/image/adjustImageSelection';
export { setParagraphMargin } from './publicApi/block/setParagraphMargin';
export { toggleCode } from './publicApi/segment/toggleCode';
export { insertEntity } from './publicApi/entity/insertEntity';
export { insertTableRow } from './modelApi/table/insertTableRow';
export { insertTableColumn } from './modelApi/table/insertTableColumn';
export { clearSelectedCells } from './modelApi/table/clearSelectedCells';
 
export { createEditorContextForEntity } from './publicApi/utils/createEditorContextForEntity';
export { formatTableWithContentModel } from './publicApi/utils/formatTableWithContentModel';
export { formatImageWithContentModel } from './publicApi/utils/formatImageWithContentModel';
export { formatParagraphWithContentModel } from './publicApi/utils/formatParagraphWithContentModel';
export { formatSegmentWithContentModel } from './publicApi/utils/formatSegmentWithContentModel';
export { formatTextSegmentBeforeSelectionMarker } from './publicApi/utils/formatTextSegmentBeforeSelectionMarker';
export { formatInsertPointWithContentModel } from './publicApi/utils/formatInsertPointWithContentModel';
 
export { setListType } from './modelApi/list/setListType';
export { setModelListStyle } from './modelApi/list/setModelListStyle';
export { setModelListStartNumber } from './modelApi/list/setModelListStartNumber';
export { findListItemsInSameThread } from './modelApi/list/findListItemsInSameThread';
export { setModelIndentation } from './modelApi/block/setModelIndentation';
export { matchLink } from './modelApi/link/matchLink';
export { promoteLink } from './modelApi/link/promoteLink';
export { getListAnnounceData } from './modelApi/list/getListAnnounceData';
export { queryContentModelBlocks } from './modelApi/common/queryContentModelBlocks';