M
M
Mkulya2019-06-19 20:09:26
TinyMCE
Mkulya, 2019-06-19 20:09:26

TinyMCE v5 how to immediately upload a picture to the server when inserting a link in the dialog box?

Hello, friends!
Tell me how in TinyMCE v5 when you insert an external link to an image into the dialog box - immediately upload it to the server? 5d0a6b40b9d12000591254.jpeg
Well, or at least immediately get the inserted link in js, it doesn’t work by the field ID, it is constantly re-generated (ID).
Well, or maybe offer a normal plugin, but taking into account the fact that the editor is available (comment form) to all registered users of the site, so that there are no problems.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Leonid, 2019-06-20
@caballero

there is a phpimage plugin where the file is uploaded to the server
and returns a link to my or id, depending on where the file was put on the disk or the original name was renamed or changed to the database, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question