"Unable to parse your markup" when switch between modes

オープン
#572 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@makhnatkin がすでに取り組んでいます。

2025年1月28日 から。

評価

この issue はまだ評価されていません。

説明

bug
How to reproduce
  1. Open editor in markdown format
  2. Add this to your markup [ ] page={number} ( checkbox with content that has brackets )
  3. Try to switch mode to "Visual Editor" or click button Preview
Expected result

Mode switched, markup is correct

Current Result
Image
Additional info

I reproduced it in mardown-editor playground, the error comes from markdown-it-attrs.
If paste content in markdown mode without checkbox, like this page={number} this will transform in visual editor like this page=

主要言語
TypeScript
スター
428
フォーク
48
平均マージ
5日 15時間
マージ済み PR(30日)
47

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

gravity-ui/markdown-editor のほかの issue

gravity-ui/markdown-editor の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。