Skip to content

How to disable default paragraph tool #1763

Closed

Description

@ThemeMetro

The question.

How to disable default paragraph tool?

Activity

  1. woren951 commented on Sep 7, 2021

    @woren951
    Contributor

    You can specify default Tool.

    From types/configs/editor-config.d.ts

      /**
       * This Tool will be used as default
       * Name should be equal to one of Tool`s keys of passed tools
       * If not specified, Paragraph Tool will be used
       */
      defaultBlock?: string;
    
  2. ThemeMetro commented on Sep 11, 2021

    @ThemeMetro
    Author

    You can specify default Tool.

    From types/configs/editor-config.d.ts

      /**
       * This Tool will be used as default
       * Name should be equal to one of Tool`s keys of passed tools
       * If not specified, Paragraph Tool will be used
       */
      defaultBlock?: string;
    

    but after this the toolbar option is not available to select another tool/block, that's why want disable this permanently.

  3. locked and limited conversation to collaborators on Jan 17, 2022
  4. converted this issue into a discussion #1897 on Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions