[Block Editor]: Placeholder Message
Goal
Improve clarity and avoid redundant or confusing options in the "+" button menu.
Success Criteria
- [ ] The introduction message should be: "Start writing or type / to choose a block"
🎥 Demo Expectations
Provide a screen recording of:
- The introduction message/placeholder should be the same as in the design
Failed Internal QA
- Docker Image: [
dotcms/dotcms:trunk_b5fd6d9]
Video
https://github.com/user-attachments/assets/26cf3af1-1903-43f7-a91f-ee86792900b6
Hey @MariaFernandez778! 👋
Could you help us define the placeholder messages for different blocks in the editor? For example, if the current block is a Heading, should the message be something like “What’s your title?” or “Start writing or type / to choose a block”?
Here’s the list of blocks we’re working with:
- List
- Heading
- Paragraph
- Code Block
- Quote Block
We’re using the Tiptap placeholder extension, and it also allows us to hide the placeholder for certain blocks—so feel free to let us know if any of these shouldn’t display one.
In placeholder text List: Enter your list item Heading : Enter your Heading 1 (or 2, or 3, etc.) Paragraph: Enter your paragraph text Code Block: Enter your code Quote Block: Enter your quote
PRs:
- https://github.com/dotCMS/core/pull/32650
QA Passed
Now we have placeholders for blocks that are not paragraphs
https://github.com/user-attachments/assets/8c0d0f29-ce3a-4d77-bda4-3a1556b634fe