Z
Z
zifmezin2021-02-02 18:24:27
JavaScript
zifmezin, 2021-02-02 18:24:27

How to add a gallery when creating a post using Wysiwyg editor?

Hello.
Task: I would like to embed a simple editor on the site (for example , Editor.js ) with the ability to upload several photos from which a gallery would be formed (for example, fotorama, nivoslider, etc.).
That is, in fact, this is the insertion of an html block with image URLs in a certain place.
This is how it is implemented in Yandex.Zen, vc and many other sites.
I googled the entire Internet in search of ready-made solutions, or at least examples of such implementations. Even in the tynimce modules, I did not find anything like this.
I understand that this is probably done through the editor's API, but I'm not strong enough in js to write my own plugin.
I will be glad to any parting words.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2021-02-02
@zifmezin

the first link in Google
+
https://github.com/WTamaso/gallery-plugin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question