S
S
Sergey2015-05-27 15:27:58
JavaScript
Sergey, 2015-05-27 15:27:58

How to disable external links in wysiwyg editor?

Is there a ready-made solution for disabling external links in the wysiwyg editor for a site?
If not, how can such functionality be implemented?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Ineshin, 2015-05-27
@IonDen

When saving the text, we run it with a regular expression and look for links.

D
Dmitry Shinkar, 2015-05-27
@DeadCowsDontMoo

I also thought about regular expressions... But the question is different, external links "pump" your resource...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question