jodit icon indicating copy to clipboard operation
jodit copied to clipboard

Feature request: Open the inline toolbar without having to highlight text.

Open Fedeorlandau opened this issue 3 years ago • 1 comments

Jodit Version: Latest

Browser: All OS: All Is React App: True

Code

var editor = new Jodit("#editor", {
  "preset": "inline",
});

editor.openToolbar();

Expected behavior: The toolbar will be displayed at the beginning of the input.

Actual behavior: This feature is not implemented.

Fedeorlandau avatar Jan 09 '21 00:01 Fedeorlandau

Maybe this can be done by focusing the editor. My intention is to add a button next to the input that opens the toolbar.

Why? Because I'd like to use Jodit (inline) for adding images. I'd need to type something, select the text and then I'll be able to see the image option. So adding a button that opens the toolbar would avoid having to type and select.

Fedeorlandau avatar Jan 09 '21 00:01 Fedeorlandau