paste_anything_editor 0.2.0
paste_anything_editor: ^0.2.0 copied to clipboard
Rich text editor for Flutter web that pastes and copies Word, Excel, Google Docs, Markdown, HTML, tables, math formulas and images with formatting kept.
0.2.0 #
- Fix: first "paste with formatting" after granting clipboard permission
failed with
NotAllowedError: Document is not focused. HTML, text and images are now read in a single Clipboard API call, and the read is retried once the page regains focus. - New
readClipboardText()andwaitForDocumentFocus();ClipboardSnapshotnow carriestextandisAvailable. - Math dialog theming:
MathPanelTheme(MaterialThemeExtension, app-wide or per use,seedColor/colorScheme, every color, radius, size) andMathPanelLabels(all texts). MathInputDialog.show/MathInputPanel:theme,labels,symbolGroups,templates,showSymbolsTab,showFormulaTab.RichHtmlEditor:mathTheme,mathLabels; formula editing opens the formula tab only.- Fix:
MissingFlutterQuillLocalizationExceptionwhen the app doesn't addFlutterQuillLocalizations.delegate; the editor now provides it (QuillLocalizationsScope). example/is now a standalone Flutter web app (flutter run -d chrome).- Docs: Flutter 3.44 needs
flutter_quill>= 11.6.0.
0.1.0 #
- Initial release.
RichHtmlEditor/RichHtmlEditorController: Quill editor that loads and saves HTML, with copy/paste toolbar.- Rich paste from Word, Excel, Google Docs, web pages, code editors, HTML source and Markdown (colors, fonts, bold/italic/underline/strike, lists, headings, links, tables).
- Tables as editable block embeds.
- Math: Unicode symbol palette, LaTeX formulas rendered as equations, paste
from KaTeX / MathJax / MathML /
$..$text, copy as HTML + LaTeX. - Opt-in image paste (
allowImagePaste) with upload callback ordata:URI fallback; unsupported embeds render a placeholder instead of crashing.