From 26c349848ea6e211c43e8955d3e4652c735bc0d4 Mon Sep 17 00:00:00 2001 From: Jack Sleight Date: Sat, 18 Feb 2023 21:44:32 +0000 Subject: [PATCH] Export `createNodeFromContent` and other missing helpers (#3558) --- packages/core/src/helpers/index.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/core/src/helpers/index.ts b/packages/core/src/helpers/index.ts index fb624226c..a6dbaeb8d 100644 --- a/packages/core/src/helpers/index.ts +++ b/packages/core/src/helpers/index.ts @@ -1,4 +1,7 @@ export * from './combineTransactionSteps' +export * from './createChainableState' +export * from './createDocument' +export * from './createNodeFromContent' export * from './defaultBlockAt' export * from './findChildren' export * from './findChildrenInRange' @@ -8,6 +11,7 @@ export * from './generateHTML' export * from './generateJSON' export * from './generateText' export * from './getAttributes' +export * from './getAttributesFromExtensions' export * from './getChangedRanges' export * from './getDebugJSON' export * from './getExtensionField' @@ -18,12 +22,19 @@ export * from './getMarksBetween' export * from './getMarkType' export * from './getNodeAttributes' export * from './getNodeType' +export * from './getRenderedAttributes' export * from './getSchema' +export * from './getSchemaByResolvedExtensions' +export * from './getSchemaTypeByName' +export * from './getSchemaTypeNameByName' +export * from './getSplittedAttributes' export * from './getText' export * from './getTextBetween' export * from './getTextContentFromNodes' export * from './getTextSerializersFromSchema' +export * from './injectExtensionAttributesToParseRule' export * from './isActive' +export * from './isExtensionRulesEnabled' export * from './isList' export * from './isMarkActive' export * from './isNodeActive' @@ -31,3 +42,6 @@ export * from './isNodeEmpty' export * from './isNodeSelection' export * from './isTextSelection' export * from './posToDOMRect' +export * from './resolveFocusPosition' +export * from './selectionToInsertionEnd' +export * from './splitExtensions'