forked from laurent22/joplin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes laurent22#11059 Fix the markdown parser to correctly render normal UL and Checkbox UL separately. * **Assets/TinyMCE/JoplinLists/src/main/ts/core/NormalizeLists.ts** - Add `isCheckboxList` function to check if a list is a checkbox list. - Modify `normalizeLists` to handle checkbox lists separately. * **Assets/TinyMCE/JoplinLists/src/main/ts/listModel/JoplinListUtil.ts** - Correct typo in `findContainerListTypeFromElement` function. - Ensure `findContainerListTypeFromElement` correctly identifies checkbox lists. * **Assets/TinyMCE/JoplinLists/src/main/ts/listModel/ParseLists.ts** - Import `isCheckboxListItem` from `JoplinListUtil`. - Update `parseLists` to handle checkbox lists separately and set the correct list type.
- Loading branch information
Showing
3 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters