-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Conclude the research about inserting images via URL #7439
Comments
Plugin iconWe extend the current icon with the dropdown, so from now the feature will be available as a split button.
Basic plugin view (editor's toolbar)We both agree that the view should be as simple as possible. This will help us keep it relatively small (for example in terms of height). Also, the basic view shouldn't contain any integrations. What the basic view would have:
Custom view (editor's toolbar)We know we need it, but we don't know how it should be designed yet. So the questions are:
Enabling replace image feature from the editor's toolbarATM we can't replace an existing image. The plugin is disabled upon image selection. We want to change this because it's not UX friendly (you have to delete the image first — losing all attributes and styles — then add another one in the same place). The idea is to have the same view as the basic one, but with small changes:
Balloon toolbar for an imageWe want to keep the modularity of the balloon toolbar. This means that unlike we did in the case of table properties, we want to have all options separate from each other. We will add another button for editing the NOTE: All custom integrations should implement "contextual editing modules" in the same manner (see Custom view). Deleting the imageNo changes here. Backspace and Delete are your friends. ConcernsWhat happens when an image is selected and users click on the plugin icon in the main toolbar?
How do I replace an image in a balloon editor?
|
Some concerns to be addressed on the sync:
|
Get it, but the problem is that the users need to delete images first — losing all additional attributes/styling — then insert the new images and add those attributes once again... However, we can simplify it by:
|
We discussed this problem and decided that it's not cool, but it's ok to show the URL of an uploaded image. However, we need to consider:
This UX represents the modularity of this feature very well. The face of the button is the base feature that we have right now – it always opens the native file picker. The "arrow" is an opt-in feature, something that we'll be implementing now.
We discussed that it's a bit superfluous right now. That the balloon editor case is not critical – it's a limited editor anyway. We can always add this button in the future if we'll see a need. |
Features:
|
As for custom integrations, we agreed that the panel view will be configurable just like a toolbar – you will specify names of components registered in the component factory. E.g., like this:
|
Provide a description of the task
Related: #5161 and #5039.
The text was updated successfully, but these errors were encountered: