Feature #33018

Add an ability to attach and embed a file to "Image" button in the Wiki toolbar

Added by Go MAEDA 7 months ago. Updated 5 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:Candidate for next major release
Resolution:

Description

Currently, we have "Image" button in the Wiki toolbar. I think the button would be more useful and user-friendly if the button has an ability to attach a file.

The following is my idea of the new behavior.

1. You will see a file dialog if you click the "Image" button. You can open an image to embed with the dialog

2. After opening an image with the dialog, the selected image file is attached and inserted to the textarea with markups

step-1-open-a-file-with-dialog.png (327 KB) Go MAEDA, 2020-02-18 07:59

step-2-file-is-embedded.png (81.2 KB) Go MAEDA, 2020-02-18 07:59

33018.patch Magnifier (1.71 KB) Takenori TAKAKI, 2020-03-11 10:22

js_toolbar.png (80.1 KB) Marius BALTEANU, 2020-05-04 22:49

History

#1 Updated by Takenori TAKAKI 6 months ago

+1
I think that wiki editor will be more useful, if the behavior suggested by Go Maeda is realized!

I post a patch to add the function shown in the screenshot above.
The behavior when click the "Image" button is as follows.
  • If no text is selected in the wiki-edit area, open a dialog to select an image.
  • If some text is selected in the wiki-edit area, it works as before.

#2 Updated by Go MAEDA 6 months ago

  • Target version set to Candidate for next major release

#3 Updated by Marius BALTEANU 6 months ago

  • Assignee set to Marius BALTEANU

Allow me few days to propose an alternative.

#4 Updated by Marius BALTEANU 5 months ago

What do you think if we add a bottom message to the toolbar with the option to select the image?

Also available in: Atom PDF