Skip to content

Conversation

sugawara-appleple
Copy link
Contributor

ブロックエディターをダイレクト編集した際に、Tailwind CSS の @tailwindcss/typography スタイルがエディター内にも適用されるようにしました。

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses an issue where Tailwind CSS typography styles were not being applied when using direct editing in the block editor. The solution adds a JavaScript configuration to apply the 'prose' class to the block editor when in edit mode.

  • Adds conditional JavaScript code to apply typography styles during direct editing
  • Uses the Touch_EditInplace condition to detect edit mode
  • Configures the block editor to include the 'prose' class for typography styling

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants