I
I
Ivan2016-03-24 09:30:44
JavaScript
Ivan, 2016-03-24 09:30:44

How to make friends sceditor and image upload code?

I decided to use the www.sceditor.com bb code editor in the project.

Before that, I had a button above each textarea that called a script for uploading an image to the site in a separate window - after the upload was completed, the bb code of the image was fasted in the textarea.

Several questions

- How to get the ID of that textarea with sceditor-om where the standard add image button of this editor was clicked. I want to hook the code of appearance of my window for loading a picture to pressing of this button.
- After the image is loaded, should I insert the bb code into the textarea or into the sceditor? Or both here and there?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question