Skip to content

[amp story shopping] PDP details module #36740

@processprocess

Description

@processprocess

Description

V1 will be plaintext and open to full height of content.

This is part of the PDP template

  1. Clicking the down arrow opens to max height of 6 lines
  2. If height is greater than 6 lines of text "Read more" displays
  3. Clicking "Read more" opens the module to full size of content.
  4. Must support text data with:
    a. subheads
    b. bullet styling
    c. emojis (this may work automatically)
    d. hard returns
  5. If there is one product tag on the page, expand by default

A WYSIWYG editor may be the easiest implementation for creation tools. The json data may need to be an html string.

For purification we can use DOMPurify which is part of our codebase and configure it with an forbidden tags.

Screen Shot 2021-11-03 at 12 34 50 PM

Screen Shot 2021-11-03 at 12 48 12 PM

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions