Problem/Motivation

#3452314: [MR Only] provide UI foundation with Drag and Drop + panels aka https://git.drupalcode.org/project/experience_builder/-/merge_requests/33 added SdcController to provide a skeleton of backend listings. In a retrospective review a few issues were flagged.

Use cases

Use Case Scenario Use Case Actor
As a content creator, I want to mark some parts of my heading as italic or bold. Short text Content Creator
As a content creator, I want to create rich text including lists and tables. Long form text Content Creator

Functional Requirements

  1. Support WYSIWYG (CKEditor 5) text fields as SDC/code component props, with only the ability for the SDC developer to specify “inline” or “block”, and NO support for matching an “inline HTML” SDC prop against existing text fields → see #3517735: [later phase] [needs upstream feature] Make `x-formatting-context: inline` work.

Non-Functional Requirements or Constraints

  1. Must be architected to allow translation support to be added in the future.
  2. Must comply with product requirement 14. Configuration management
  3. Must be architected to allow in-place editing to be added in the future with low probability of needing breaking changes. (Too complex/big of a feature to guarantee this.)

Proposed resolution

(Numbered lists must happen one after the other, bulleted lists can happen in parallel.)

  1. Make the full range of CKEditor 5 functionality work in the content entity form:
  2. Use CKEditor 5 for authoring an example value

User interface changes

  1. CKEditor 5 works in the component instance form for the 2 restricted text formats
  2. CKEditor 5 works completely in the content entity form

Comments

wim leers created an issue. See original summary.

wim leers’s picture

Issue summary: View changes
wim leers’s picture

Issue summary: View changes
wim leers’s picture

lauriii’s picture

lauriii’s picture

Issue summary: View changes

Project: Experience Builder » Drupal Canvas
Version: 0.x-dev » 1.x-dev

Experience Builder has been renamed to Drupal Canvas in preparation for its beta release. You can now track issues on the new project page.