From cf77c177c3272d018ee49e644ca928d605e21fe2 Mon Sep 17 00:00:00 2001 From: Johan Sosa Date: Tue, 19 Dec 2023 17:51:43 +0100 Subject: [PATCH] feat(TextEditor): Scrollref --- packages/editors/src/form/TextEditor/TextEditor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/editors/src/form/TextEditor/TextEditor.js b/packages/editors/src/form/TextEditor/TextEditor.js index 633382940..a74798841 100644 --- a/packages/editors/src/form/TextEditor/TextEditor.js +++ b/packages/editors/src/form/TextEditor/TextEditor.js @@ -39,6 +39,7 @@ export const TEXT_EDITOR_PROP_TYPES = { readOnly: PropTypes.bool, children: PropTypes.node, toolbarPortal: PropTypes.any, + scrollRef: PropTypes.any, }; const TextEditor = ({ @@ -55,6 +56,7 @@ const TextEditor = ({ acceptedTags = [], toolbarPosition, toolbarPortal, + scrollRef, }) => { const store = React.useRef({ isFocus: false, @@ -240,6 +242,7 @@ const TextEditor = ({ )}