Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create rule #72

Closed
ct1735x opened this issue Jun 15, 2021 · 2 comments
Closed

Create rule #72

ct1735x opened this issue Jun 15, 2021 · 2 comments

Comments

@ct1735x
Copy link

ct1735x commented Jun 15, 2021

Currently, tables created with medium editor doesnt convert to working markdown tables, its just putting spaces everywhere in the markdown instead of using pipes and dashes

Thats is because there is no rule defined in me-markdown.standalone.min.js to handle tables.

I would like to know how I can create a rule to achieve this WYSIWYG to markdown conversion

I already tried @jerrywham solution from issue #31 but it's definetly not working properly.

@jerrywham
Copy link

My solution is for me-mardown.standalone.js, not for min version which is minified from me-mardown.standalone.js without my code.

@ct1735x
Copy link
Author

ct1735x commented Jun 16, 2021

My solution is for me-mardown.standalone.js, not for min version which is minified from me-mardown.standalone.js without my code.

The problem is exactly the same with me-markdown.standalone.js
This javascript isn't made to handle medium editor tables
-> in me-markdown.standalone.js, there is no mention of "table", "td" , "tr" or pipes

(je crois que tu parles francais, on pourrait gagner du temps)

@ct1735x ct1735x closed this as completed Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants