@seafile/sdoc-editor 2.0.37-alpg-0.0.1 → 2.0.37-alpg-0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -249,8 +249,9 @@ function renderTable(props) {
|
|
|
249
249
|
} = props;
|
|
250
250
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
251
251
|
const editor = (0, _slateReact.useSlateStatic)();
|
|
252
|
-
console.log(
|
|
252
|
+
console.log(0, editor, editor.width);
|
|
253
253
|
const columns = (0, _helpers.getTableColumns)(editor, element);
|
|
254
|
+
console.log(1, editor, columns, element);
|
|
254
255
|
let style = element.style ? {
|
|
255
256
|
...element.style
|
|
256
257
|
} : {};
|