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

Use data URL to embed images in documents #301

Merged
merged 2 commits into from Sep 14, 2017

Conversation

A----
Copy link
Contributor

@A---- A---- commented Sep 13, 2017

This PR allows images to be embedded in the document using data URLs.
I spent nearly an hour, but I could not manage to write proper unit tests for this.

Also:

  • Adds an undocumented disabledUpload options. There was a unit test for it and it worked, but coincidental.
  • Do not require for onUploadResponse to be a String, can simply be an object.

Also, there's an undocumented name attribute that's understood by AssertView.

@artf artf merged commit 0934a88 into GrapesJS:dev Sep 14, 2017
@artf
Copy link
Member

artf commented Sep 14, 2017

Amazing feature, thanks mate

@lock
Copy link

lock bot commented Sep 17, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the outdated label Sep 17, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Sep 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants