Expose media and internal entity links in text fields as computed entity reference fields

Created on 9 October 2022, about 2 years ago
Updated 31 August 2023, over 1 year ago

How to extract media and internal links from CKEditor 5?

I want to create a page view with a tab, on my nodes. I want this page to display all the media present in the body of the node. How can I do this? It would be something great. I don't want to use fields, but the media used with CKEditor.

I have the same question for internal links. My node, refers to other nodes, in CKEditor. I want to create a view block, which displays the nodes with the same keywords, but it must exclude the links present in the body of the node. It would make CKEditor so much more powerful and so much better integrated with Drupal. How to do this, without creating a reference field?

It's easy to achieve this result using reference fields, but it's unnecessary work. It is necessary to extract this information from the body of the node and CKEditor. It would be logical and natural.

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
TextΒ  β†’

Last updated 17 days ago

Created by

πŸ‡«πŸ‡·France zenimagine

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡΅πŸ‡±Poland sebaz

    Entity usage is really big thing! But... inline upload with ckedior adds simple file:image entity reference in file_usage db table. There is one problem, it not follows after deleting it from body field ;) but still there is a logic which can be used to fill custom hidden reference field storing media added to node.

Production build 0.71.5 2024