diff --git a/src/blocks/helpers/table-row.vue b/src/blocks/helpers/table-row.vue
new file mode 100644
index 0000000..9fdb895
--- /dev/null
+++ b/src/blocks/helpers/table-row.vue
@@ -0,0 +1,56 @@
+
+
+ |
+
+ |
+
+
+
+
diff --git a/src/blocks/table.vue b/src/blocks/table.vue
new file mode 100644
index 0000000..3393ad2
--- /dev/null
+++ b/src/blocks/table.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
diff --git a/src/components/block.vue b/src/components/block.vue
index 03d9ab0..8691b2b 100644
--- a/src/components/block.vue
+++ b/src/components/block.vue
@@ -31,9 +31,10 @@
+
todo: {{ type }}
@@ -58,10 +59,11 @@ import NotionToggle from "@/blocks/toggle";
import NotionQuote from "@/blocks/quote";
import NotionEquation from "@/blocks/equation";
import NotionTodo from "@/blocks/todo";
+import NotionTable from '@/blocks/table'
export default {
extends: Blockable,
- name: "NotionBlock",
+ name: 'NotionBlock',
components: {
NotionBookmark,
NotionCallout,
@@ -74,8 +76,9 @@ export default {
NotionText,
NotionToggle,
NotionQuote,
+ NotionTable,
NotionEquation,
NotionTodo,
},
-};
+}
diff --git a/src/styles.css b/src/styles.css
index 2fee3f7..eb72532 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -686,3 +686,31 @@ img.notion-nav-icon {
margin: 0 2px;
color: rgba(55, 53, 47, 0.4);
}
+
+.notion-simple-table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+.notion-simple-table-data {
+ color: inherit;
+ fill: inherit;
+ border: 1px solid rgb(233, 233, 231);
+ position: relative;
+ vertical-align: top;
+ min-width: 178px;
+ max-width: 178px;
+ min-height: 32px;
+}
+
+.notion-simple-table-cell-text {
+ max-width: 100%;
+ width: 100%;
+ white-space: pre-wrap;
+ word-break: break-word;
+ caret-color: transparent;
+ padding: 7px 9px;
+ background-color: transparent;
+ font-size: 14px;
+ line-height: 20px;
+}
\ No newline at end of file