这是indexloc提供的服务,不要输入任何密码
Skip to content

Add Functionality to Change Paragraph Style for Highlighted Text #375

@DennisAlund

Description

@DennisAlund

Description

Enhance the Tiptap editor by adding functionality to change the paragraph style of highlighted text when selecting an option from the "Paragraph" dropdown menu.

  • Paragraph
  • Heading 1
  • Heading 2
  • Heading 3
  • Bullet list
  • Numbered list

Steps to Accomplish

  1. Update Toolbar/Bubble Menu:

    • Add the "Paragraph" dropdown to the Tiptap editor's toolbar or bubble menu.
  2. Implement Functionality:

    • Implement functionality to change the style of highlighted text based on the selected dropdown option.
    • Use Tiptap’s existing commands and schema to apply the corresponding styles.
  3. Test Changes:

    • Test the dropdown functionality to ensure it correctly changes the paragraph style of highlighted text.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions