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

HtmlEditor - Resize Media Blocks #7269

Open
KsyushaM opened this issue Mar 13, 2019 · 2 comments

Comments

Projects
None yet
4 participants
@KsyushaM
Copy link
Contributor

commented Mar 13, 2019

The Problem

The HtmlEditor does not allow users to resize embedded media blocks.

The Proposed Solution

We added a new resizing option that accepts an object with the following structure:

mediaResizing: {
  enabled: true, // enables resizing
  allowedTargets: ["images"] // specifies resizable media types
}

UI Design

resizing_example

Try It

Live Sandbox

jQuery

Installation

Coming soon

We Need Your Feedback

Take a Quick Poll

Do you find resizing in the HtmlEditor useful?

Get Notified of Updates

Subscribe to this thread or to our Facebook and Twitter accounts for updates on this topic.

@stenet

This comment has been minimized.

Copy link

commented Apr 12, 2019

This feature is great but when resizing an image it should keep aspect ratio.

@DokaRus

This comment has been minimized.

Copy link
Contributor

commented Apr 18, 2019

Thanks @stenet !
We're discussing it with the team and definitely add it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.