• Resolved trm2000

    (@trm2000)


    Hello.

    I asked in german forum, but nobody got an answer solution.

    Is there a setting to keep all switches permanently on (see screenshots)?

    Screenshot 1
    Screenshot 2
    Screenshot 3

    I want to enable it on all blocks automatically, but have to turn it on for every block, i select, again.

    With best regards
    Mathias

    • This topic was modified 1 year, 6 months ago by trm2000. Reason: Additional infos
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    There is no built-in setting to force a particular block configuration. If you wish to enforce certain settings, most are saved within the block’s comment attribute. Use the editor’s code view to see typical settings for each block. It’d be possible to parse through content as it’s being saved and to set certain attributes for every block, regardless of what the author had initially selected. This can be done using the ‘wp_insert_post_data’ filter.

    If you will override author selections like that, you should also hide the respective editor block settings with CSS so no one is tempted to change the default settings.

    Thread Starter trm2000

    (@trm2000)

    Thank you. With another developer I began to think about other ways to do that. He wrote a nice plugin, I can use.

    With best regards Mathias

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Typography: Is there a setting to keep all switches permanently on?’ is closed to new replies.