S
S
Sergey2015-02-26 22:06:06
WYSIWYG
Sergey, 2015-02-26 22:06:06

How to disable autocompletion in wordpress wysiwyg?

Good day, colleagues. There was a task to lay out forms and insert them into wordpress. I made up the forms, but it turned out that the theme used was not at all friendly with bootstrap, I had to steal the necessary styles from bootstrap. I sort of did it, it was displayed as it should, then I started to integrate the whole thing into wp itself and ran into a problem: static pages are created using the wysiwyg editor, you can, of course, write your own html code, but each new line is framed in P and my whole layout is going to hell. The real question is how to avoid this? I have only one option in my head - to hard-code it into the database, but then the problem of editing the page arises, because if you edit and save the page, then wysiwyg will again frame my form with unnecessary and harmful P. What should I do? How to be?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
scorp13, 2018-08-15
@scorp13

You can disable the wysiwyg editor for certain pages.

V
Villarou, 2015-02-27
@VirmarY

I can offer you a couple of options.
1. Use a ready-made plugin for forms (there are many of them)
2. Write your own plugin (hemorrhoids)
3. If you do not need to edit forms often, then you can place them in separate php files, and then connect these files using get_template_part in templates. In this case, it will be possible to connect the form only for certain pages.
4. Install TinyMCE and disable auto framing in settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question