Skip to content

Drupal canvas#1016

Draft
andreytroeglazov wants to merge 3 commits into783-paragraphs-crudfrom
drupal-canvas
Draft

Drupal canvas#1016
andreytroeglazov wants to merge 3 commits into783-paragraphs-crudfrom
drupal-canvas

Conversation

@andreytroeglazov
Copy link
Copy Markdown
Collaborator

No description provided.

@andreytroeglazov
Copy link
Copy Markdown
Collaborator Author

vokoscreenNG-2026-03-31_17-22-39.webm

Canvas module provides it's own type of pages, when creating a page it uses default front theme(we can configure layout and sections there), it allows adding blocks to the page, create and add custom components(I have added 2 examples) with fields. I have replicated CTA paragraph as sdc and reused wrappers, but it's reused in twig template, so it's the same as we have in php traits but in twig, haven't tried nested components or reference fields.
It looks ok and can be used, but it's slow for me and I have some js errors, also lost some time to find add component button to page, because it was hidden under leave button.

Selection_095

Probably we can reuse trait methods inside preprocesses instead of rendering everything in twig.

TB: 3.4h

@amitaibu ^^

@amitaibu amitaibu marked this pull request as draft March 31, 2026 10:44
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.

1 participant