AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
58.15k stars 3.83k forks source link

[Bug] importing a table from markdown file giving error #3383

Open Mukund-Tandon opened 1 year ago

Mukund-Tandon commented 1 year ago

Bug Description

https://github.com/AppFlowy-IO/appflowy-editor/assets/71614009/6ef3c4ee-6d94-40bb-86e5-3d8191271289

As seen in the video If we import a markdown file with a table inside it it will give an error.

How to Reproduce

Take a markdown file with a table in it

Example -

# AppFlowy Test

# Images -
---
- List 1
- List 2
hello cs
## **Multicore Processors**
| S.No. | MultiCore | MultiProcessor |
| --- | --- | --- |
| 1. | A single CPU or processor with two or more independent processing units called cores that are capable of reading and executing program instructions. | A system with two or more CPU’s that allows simultaneous processing of programs. |
| 2. | It executes single program faster. | It executes multiple programs Faster. |
| 3. | Not as reliable as multiprocessor. | More reliable since failure in one CPU will not affect other. |
| 4. | It has less traffic. | It has more traffic. |
| 5. | It does not need to be configured. | It needs little complex configuration. |
| 6. | It’s very cheaper (single CPU that does not require multiple CPU support system). | It is Expensive (Multiple separate CPU’s that require system that supports multiple processors) as compared to MultiCore. |
1. Number list 2

and import this markdown file

Expected Behavior

The error should not be there

Operating System

MacOs

AppFlowy Version(s)

0.3.1

Screenshots

No response

Additional Context

No response

Mukund-Tandon commented 1 year ago

I would like to work on this

Mukund-Tandon commented 8 months ago

Hi @annieappflowy , can I work on this issue , I have restarted the work on importers project to complete it and am still facing this issue while importing.

Mukund-Tandon commented 8 months ago

Appflowy-editor example app

https://github.com/AppFlowy-IO/AppFlowy/assets/71614009/be8ea9bf-94ad-43f7-8a00-390179eda632

Appflowy-

https://github.com/AppFlowy-IO/AppFlowy/assets/71614009/4a711c92-a346-429d-a691-091cb7b1312b

When I am importing the same markdown from appflowy-editor example app I am getting no error , but when importing through Appflowy app I am getting error in the table part