7 Commits

Author SHA1 Message Date
Maofeng 2dbf51ba24 chore(format): normalize repository files 2026-09-20 15:54:12 +08:00
Maofeng dc80bd8ae0 feat(docs): add bilingual package documentation site 2026-09-20 15:53:54 +08:00
Maofeng 6cd981d6a2 feat(i18n): standardize bilingual catalogs and tooling 2026-09-20 15:52:48 +08:00
Maofeng ea00a71112 refactor(icons): migrate workspace to Icones 2026-09-20 15:52:22 +08:00
Maofeng c64864b3b5 feat(lexical): support styling declarative actions
Accept className on action declarations and carry it through compiled actions, default toolbar controls, menu items, custom renderers, and custom controls. Keep preset action ordering consistent across toolbar and bubble placements, with coverage for default and custom rendering paths.
2026-08-08 21:13:49 +08:00
Maofeng 263b400860 feat(lexical): support local image data URLs
Allow the image insertion dialog to select a local image and embed it as a Base64 data URL, while retaining URL-based insertion and leaving video URL-only.

Extract shared abortable FileReader handling for clipboard uploads and dialog selection; add English and Simplified Chinese messages plus an interaction test covering file selection through insertion.
2026-07-31 16:03:54 +08:00
Maofeng 0d817537be feat(lexical): add declarative rich text editor
Introduce @workspace/lexical with composable actions, toolbars, embeds, rich-text nodes, media uploads, selection utilities, HTML serialization, and theme styling.\n\nLocalize built-in controls through MessageDescriptor catalogs for English and Simplified Chinese, while providing an English I18nProvider fallback for standalone editor use. Include focused unit coverage for actions, controls, serialization, plugins, public API, and catalogs.
2026-07-31 15:07:09 +08:00