Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasting images #156

Open
DanielJackson-Oslo opened this issue Feb 13, 2024 · 1 comment
Open

Pasting images #156

DanielJackson-Oslo opened this issue Feb 13, 2024 · 1 comment

Comments

@DanielJackson-Oslo
Copy link

Currently there's no support for pasting images. Trix has this.

Anything I can do to help implement it?

@KonnorRogers
Copy link
Owner

KonnorRogers commented Feb 13, 2024

If you feel comfortable, feel free to dive in and make a PR. If not, I'll see if I can work on something this weekend.

Here's Trix's implementation:

https://github.com/basecamp/trix/blob/3f22606970e74b78ae1fd7d5204530039ae1b93b/src/trix/controllers/level_2_input_controller.js#L39

The level_2 is probably what we want to support. IIRC the level_0 implementation is for legacy browsers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants