dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
860 stars 467 forks source link

Add support for h4, h5, h6 headlines in Block Editor #25660

Closed waqasakramdot closed 1 year ago

waqasakramdot commented 1 year ago

Parent Issue

No response

User Story

We have different support requests to offer h4,h5, and h6 headlines in Block Editor

Acceptance Criteria

Block Editor should have h4, h5, h6 blocks so customers can add those headlines.

Proposed Objective

Customer Support

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

Ticket: https://dotcms.zendesk.com/agent/tickets/112593

Slack: https://dotcms.slack.com/archives/C028Z3R2D/p1673979176428059

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

rjvelazco commented 1 year ago

Failed Internal QA

Docker Image: [dotcms/dotcms:master_bc0e939]

We are not supporting the h4, h5, and h6 in the preview mode.

Steps to reproduce

  1. Go to any block.
  2. Add an h4, h5, or h6.
  3. Savae and Publish.
  4. Go to the Page Preview
  5. See the error. Those headings are not being rendered.

https://github.com/dotCMS/core/assets/72418962/b5ed816a-4b98-49a7-9e19-2888af8b2b3b

Extra-information.

We need to create the corresponding heading4.vtl, heading5.vtl, and heading6.vtl files in the storyblock folder, and edit the renderContentBlock macro here.

josemejias11 commented 1 year ago

Approved QA - Tested on master_74e2d1a_SNAPSHOT // Docker // macOS 13.0 // FF v113.0