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

Image resize is not saved in the editor (using HTML format) #339

Open
liadbe opened this issue Jan 1, 2019 · 3 comments
Open

Image resize is not saved in the editor (using HTML format) #339

liadbe opened this issue Jan 1, 2019 · 3 comments

Comments

@liadbe
Copy link

liadbe commented Jan 1, 2019

Hi,

When I'm uploading an image from local (implementing uploadFn as in the docs), it uploads the image correctly. The thing is when I resize the image, I see the change made in the DOM (width attribute added to the img tag), but when saved to HTML and component re-mount (on page refresh), it's back to it's original size.

Is it the same issue as that? when using createEditorState() over HTML format it's ignoring some attributes? or it's something else?
https://github.com/margox/braft-editor/issues/333

Thanks.

@margox
Copy link
Owner

margox commented Jan 2, 2019

Hi, the current version of the editor does not accept any resize-related events. The new size after the image resize will not be recorded,, but I will implement this in subsequent versions, but at least it will not be completed until March.

@liadbe
Copy link
Author

liadbe commented Mar 25, 2019

Hi, any news about that?

@margox
Copy link
Owner

margox commented Mar 25, 2019

Sorry, I forgot to do this before :(, and I will take a try at this weekend.

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