Comments (1)
There's no magic here, really. If you want to upload with a dialog, just make a button that triggers a dialog. When the upload is complete (or whenever, as your needs require) insert a Lexical node that renders an HTML img tag or something to have the image show up in the editor.
Lexical doesn't provide this out of the box, but we can leave this open as a feature request to support this better.
from lexical.
Related Issues (20)
- Bug: MutationObserver error when deploying to Vercel HOT 3
- Bug: Select all in copy pasted table broken
- Feature: bring all examples into the monorepo HOT 2
- Feature: document and export common/known update tags
- Bug: Changing the font size when inputting does not take effect HOT 12
- better support for keyboard accessibility
- Bug: Selection is removed when changing style of 2 different nodes HOT 1
- Bug: Cursor jumps to the end of the document after undo checkbox adding HOT 3
- Chore: Update vite, rollup, and associated build-related packages
- Bug: $getSelection always returns null. HOT 1
- Bug: CSS property `scroll-padding` not working HOT 1
- Feature: Dev experience for createCommand HOT 1
- Bug: Google Docs checklist does not paste correctly
- Feature: Option to include blank lines in markdown
- Bug: Styles of pre-populated text in editorState is not applied + Error while upgrading to version 0.14.3 or higher HOT 4
- removeFromParent doesn't readjust selection
- Feature: Speed up tests with more caching
- Feature: LexicalComposer initialState should accept SerializedEditorState HOT 1
- Bug: Cannot toggle editor isEditable using react + react-dom v19 beta HOT 19
- Feature: React 19 testing and documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lexical.