@flozy/editor 1.9.2 → 1.9.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -137,6 +137,10 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
|
|
137
137
|
setValue(draftToSlate({
|
138
138
|
data: content
|
139
139
|
}));
|
140
|
+
Transforms.select(editor, {
|
141
|
+
path: [0, 0],
|
142
|
+
offset: 0
|
143
|
+
});
|
140
144
|
}, [id, content]);
|
141
145
|
useEffect(() => {
|
142
146
|
if (editorWrapper && editorWrapper?.current && JSON.stringify(loadedValue) !== JSON.stringify(deboundedValue) && isInteracted && onSave) {
|
@@ -176,9 +176,7 @@ const Table = props => {
|
|
176
176
|
style: {
|
177
177
|
minWidth: "100%",
|
178
178
|
maxWidth: "100%",
|
179
|
-
position: "relative"
|
180
|
-
overflowX: "auto",
|
181
|
-
overflowY: "hidden"
|
179
|
+
position: "relative"
|
182
180
|
},
|
183
181
|
children: [/*#__PURE__*/_jsx(TableComp, {
|
184
182
|
sx: classes.table,
|