• Hi,

    I am using this code to remove the typography settings from the block editor so that my client cannot access them. I just cannot find anywhere how to target Orientation.

    Thank you. ??

        "typography": {
            "customFontSize": false,
            "lineHeight": false,
            "dropCap": false,
            "fluid": false,
            "fontStyle": false,
            "fontWeight": false,
            "letterSpacing": false,
            "textDecoration": false,
            "textTransform": false,
            "fontSizes": [],
            "fontFamilies": []
        },
Viewing 1 replies (of 1 total)
  • If you don’t find the settings of typography. You may put your typography settings in theme.json file.

    {
    “version”: 2,
    “settings”: {
    “typography”: {
    “customFontSize”: false,
    “dropCap”: false,
    “fontStyle”: false,
    “fontWeight”: false,
    “letterSpacing”: false,
    “lineHeight”: false,
    “textColumns”: false,
    “textDecoration”: false,
    “textTransform”: false,
    “writingMode”: false
    }
    }
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Using theme.json to hide Typography Orientation block setting’ is closed to new replies.