开源白板工具(SaaS),一体化白板,包含思维导图、流程图、自由画等。All in one open-source whiteboard tool with mind, flowchart, freehand and etc.
fix(text): resolve text can not auto break line #173 #169
pubuzhixing855e7d67c2d16
diff --git a/packages/react-text/src/styles/index.scss b/packages/react-text/src/styles/index.scssindex 2e3aa54..bc76fc7 100644--- a/packages/react-text/src/styles/index.scss+++ b/packages/react-text/src/styles/index.scss@@ -1,7 +1,7 @@.plait-board-container {.text {foreignObject {- overflow-x: auto;+ overflow-y: auto;&::-webkit-scrollbar {display: none;}diff --git a/packages/react-text/src/text.tsx b/packages/react-text/src/text.tsxindex f3e5049..3976359 100644--- a/packages/react-text/src/text.tsx+++ b/packages/react-text/src/text.tsx@@ -110,7 +110,6 @@ export const Text: React.FC<TextComponentProps> = (}}}onKeyDown={onKeyDown}- style={{ whiteSpace: 'pre' }}/></Slate>);