| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Refactor and enhance Markdown editor and Skia renderer functionality - Improved Markdown editor's target kind determination logic for better clarity. - Updated runtime function signature to include an optional initial document path. - Added documentation for GPU surface functions and improved hit testing. - Enhanced markdown quote block text parsing to streamline content handling. - Adjusted test cases for better readability and consistency in Markdown parsing. - Introduced a new copy_from method for Skia surfaces to facilitate pixel copying. - Implemented tests for GPU surface resizing and backing surface behavior in Metal. - Enhanced renderer to manage GPU backing surfaces effectively, ensuring pixel preservation. - Updated text rendering functions for improved handling of CJK and mixed text. - Added comprehensive tests for effective damage policies and GPU backing behavior. | 1 天前 | |
docs: add layout overview for markdown editor | 2 个月前 | |
feat: Enhance Markdown Editor functionality and performance - Added selection_engaged flag to track user engagement with text selection in the Markdown editor. - Updated apply_command_to_selection, apply_text_transform, and set_selection functions to set selection_engaged to true upon selection changes. - Modified view rendering logic to only display block target palette after user interaction, preventing it from appearing on document load. - Implemented command-line argument support for opening specific documents on startup in the macOS Skia version of the editor. - Improved image handling in the Skia renderer to ensure that retained layers are refreshed after async image completions, preventing stale images from being displayed. - Enhanced text rendering to correctly handle mixed CJK and Latin characters, ensuring proper line metrics and glyph coverage. - Added tests to verify the correct parsing of quoted fence markers in Markdown and the behavior of inline nodes during soft wrapping. - Introduced new utility functions for handling UTF-16 offsets in text rendering, addressing issues with character metrics in mixed-language scenarios. | 1 天前 | |
Update dependencies and refactor editor scroll handling - Updated MoUI dependencies to version 0.2.0 for improved features and stability. - Refactored editor scroll handling in editor_view.mbt to use Point for scroll state. - Removed unused state import in moon.pkg. - Adjusted pkg.generated.mbti to reflect changes in scroll state type. - Modified playground_model.mbt to accommodate new scroll handling logic. - Updated compiler-worker.js to use the new moui_web_renderer instead of webgpu_adapter. - Changed script imports in index.html files to reference the updated renderer. | 26 天前 | |
docs: bump window package version to 0.5.4-0.1.7 | 4 天前 | |
chore: restructure project, add showcase page and new examples - add WebsiteShowcases enum to website page enum - add image view to views_dsl - remove moui_example from moon.work and add as git submodule - add gitmodules entry for moui_example - add READMEs for excel, showcase, mo_workbench, markdown_editor - update website app to add showcases page and assets generation script - update root README and docs to reflect new project structure - add showcase thumbnail generation script | 1 个月前 | |
docs: bump window package version to 0.5.4-0.1.7 | 4 天前 | |
refactor(examples): restructure composition modules by renaming files | 30 天前 | |
Refactor and enhance Markdown editor and Skia renderer functionality - Improved Markdown editor's target kind determination logic for better clarity. - Updated runtime function signature to include an optional initial document path. - Added documentation for GPU surface functions and improved hit testing. - Enhanced markdown quote block text parsing to streamline content handling. - Adjusted test cases for better readability and consistency in Markdown parsing. - Introduced a new copy_from method for Skia surfaces to facilitate pixel copying. - Implemented tests for GPU surface resizing and backing surface behavior in Metal. - Enhanced renderer to manage GPU backing surfaces effectively, ensuring pixel preservation. - Updated text rendering functions for improved handling of CJK and mixed text. - Added comprehensive tests for effective damage policies and GPU backing behavior. | 1 天前 | |
feat: Enhance Markdown Editor functionality and performance - Added selection_engaged flag to track user engagement with text selection in the Markdown editor. - Updated apply_command_to_selection, apply_text_transform, and set_selection functions to set selection_engaged to true upon selection changes. - Modified view rendering logic to only display block target palette after user interaction, preventing it from appearing on document load. - Implemented command-line argument support for opening specific documents on startup in the macOS Skia version of the editor. - Improved image handling in the Skia renderer to ensure that retained layers are refreshed after async image completions, preventing stale images from being displayed. - Enhanced text rendering to correctly handle mixed CJK and Latin characters, ensuring proper line metrics and glyph coverage. - Added tests to verify the correct parsing of quoted fence markers in Markdown and the behavior of inline nodes during soft wrapping. - Introduced new utility functions for handling UTF-16 offsets in text rendering, addressing issues with character metrics in mixed-language scenarios. | 1 天前 |
Markdown Editor
The full Markdown Editor documentation lives in
README.mbt.md. The .mbt.md variant is the source of
truth for the MoonBit/Chinese-friendly README rendering; the upstream
mooncakes.io docs use the same content.
Source: https://github.com/wzzc-dev/MoUI/tree/main/examples/markdown_editor