Skip to content

Commit

Permalink
feat(wiki): markdown editor
Browse files Browse the repository at this point in the history
- Add a patch to convert 'content' field's value in existing Wiki Page records from Rich Text (HTML) to Markdown
- Update the 'content' field's type in the Wiki Page Doctype to 'Markdown Editor’
- Convert existing editor to markdown in the frontend
  • Loading branch information
AyshaHakeem committed Sep 7, 2024
1 parent e1f3521 commit 4ae91ce
Show file tree
Hide file tree
Showing 15 changed files with 2,063 additions and 2,349 deletions.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@tiptap/extension-text-align": "^2.0.2",
"@tiptap/pm": "^2.0.2",
"@tiptap/starter-kit": "^2.0.2",
"ace-builds": "^1.36.2",
"htmldiff-js": "^1.0.5",
"lowlight": "^2.8.1",
"pre-commit": "^1.2.2"
Expand Down
1 change: 1 addition & 0 deletions wiki/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ wiki.wiki.doctype.wiki_feedback.patches.delete_wiki_feedback_item
[post_model_sync]
wiki.wiki.doctype.wiki_space.patches.wiki_sidebar_migration
wiki.wiki.doctype.wiki_settings.patches.wiki_navbar_item_migration
wiki.wiki.doctype.wiki_page.patches.convert_to_markdown
Loading

0 comments on commit 4ae91ce

Please sign in to comment.