• Resolved mikehermary

    (@mikehermary)


    Hello,

    I am using the Create Post form to allow visitors to submit post content to website.

    Is there a way to disable the Text (HTML) tab and customize what is displayed for formatting options on the Visual tab? Simplifying the editor would make it easier for visitors to submit posts.

    Any suggestions are greatly appreciated.

    Cheers,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @mikehermary

    I hope you are doing well.

    You would be able to do it using CSS, for example:

    .forminator-ui .wp-switch-editor.switch-html{
        display: none !important;
    }
    
    /** Editor items **/
    .forminator-ui #mceu_0,
    .forminator-ui #mceu_1{
        display: none !important;
    }

    The _0 is the position of the item, you can extend it by selecting the one you can disable:

    https://monosnap.com/file/mjhQQCPYLGPt8M6wclSDjg4UoLFA7h

    The CSS can be added to Forminator > Form > Appearance > Custom CSS.

    Best Regards
    Patrick Freitas

    Thread Starter mikehermary

    (@mikehermary)

    Hello,

    Thanks for sharing the code.

    I have added to the code the custom CSS field, but it is not working while viewing the form preview or when it is embedded on a hidden page.

    The custom CSS does not seem to be rendered in the HTML anywhere on the hidden page. I tried searching for it, but it did not appear.

    Cheers,

    Thread Starter mikehermary

    (@mikehermary)

    Hello,

    I have resolved this issue by moving the CSS into my theme’s CSS file. I had forgotten that I had disabled all Forminator CSS while the theme was in development.

    Cheers,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post content editor customization’ is closed to new replies.