Skip to content

Commit b239d0c

Browse files
committed
fix: editor styles
1 parent a389b50 commit b239d0c

4 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: install node-v16
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '16.16.0'
22+
node-version: "16.16.0"
2323

2424
- name: install dependencies
2525
run: |

packages/plugin/src/hyper-link/components/menu.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export const HyperLinkMenu: FC<Props> = props => {
1818
const top = isEmptyValue(props.top) ? 0 : props.top + 30;
1919
const left = isEmptyValue(props.left) ? 0 : props.left - 150;
2020
const position = props.top || props.left ? "absolute" : void 0;
21+
2122
return (
2223
<div className="hyper-link-menu" style={{ left, top, position }}>
2324
<Form

packages/plugin/src/image/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export class ImagePlugin extends BlockPlugin {
9292
if (!imageInput) {
9393
imageInput = document.createElement("input");
9494
imageInput.setAttribute("type", "file");
95+
imageInput.setAttribute("id", this.IMAGE_INPUT_DOM_ID);
9596
imageInput.setAttribute("class", this.IMAGE_INPUT_DOM_ID);
9697
imageInput.setAttribute("accept", "image/png, image/jpeg, image/svg+xml");
9798
document.body.append(imageInput);

packages/plugin/src/table/styles/index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
border-collapse: collapse;
1919
border-spacing: 0;
2020
cursor: auto;
21+
position: relative;
2122
table-layout: fixed;
2223
width: 100%;
2324

0 commit comments

Comments
 (0)