Giter Site home page Giter Site logo

Comments (10)

brandonkelly avatar brandonkelly commented on June 5, 2024 2

CKEditor 4.0.0-beta.8 is out now with multi-instance support πŸŽ‰

from cms.

brandonkelly avatar brandonkelly commented on June 5, 2024 1

CKEditor fields are a bit of an edge case because, while they do store content in the content column, they also manage nested entries. The way it works right now, some nested entries would end up getting deleted unexpectedly when saving, if they were multi-instance. So they are single-instance for the time being. It should be possible for us to make multi-instance work for them, though.

from cms.

MattWilcox avatar MattWilcox commented on June 5, 2024 1

Can I say that from the perspective of someone building out a site, this limitation feels like a bug.

"I thought we didn't have to make redundant duplicated fields anymore; why is this broken for Matrix fields?" is what that feels like.

from cms.

brandonkelly avatar brandonkelly commented on June 5, 2024 1

@MattWilcox Correct. Just mentioning it here since it came up in the discussion.

from cms.

brandonkelly avatar brandonkelly commented on June 5, 2024

That’s expected. Only fields that store content in the content table are reusable within a field layout.

from cms.

satcreative avatar satcreative commented on June 5, 2024

This is also the case with CKEditor fields. Are they also not expected to be reuseable?

from cms.

MattWilcox avatar MattWilcox commented on June 5, 2024

Just to clarify, as I've have been getting myself into knots with fields/entry-type/matrix since going deeper into scaffolding out Craft5... this fix is for allowing multiple instances of a CKeditor field in an Entry Type, and not Matrix? So we can not pull in multiple instances of a single matrix-field into an Entry Type still, but now we can have multiple instances of a single CKEditor field in an Entry Type?

from cms.

dolphiq-allard avatar dolphiq-allard commented on June 5, 2024

First off, Craft 5 has some great improvements such as which reusing fields.

In regards to not being able to reuse matrix fields: same goes for the entries field. It would be great if these could be reused as well. I tend to allow our clients to select entries for e.g. the Contact page, privacy statement and disclaimer for use in various templates. If the entries field would be reusable this would save me creating separate fields for these items.

from cms.

humandevs avatar humandevs commented on June 5, 2024

+1 for this feature. This would be super awesome!

Content reuse is a big selling point of other "expensive" Composable CMS platforms such as Contentful, and even Enterprise Content Management systems like MadCap or Paligo. This follows the DRY (Don't Repeat Yourself) principle. Being able to find (search for) and insert nested, re-useable, atomic (matrix/neo fields) content in the GUI, would be great, and could let us keep one of our growing projects in Craft where this has been a consistent pain point for content creators dealing with knowledge-base content for related products.

For some examples/ideas from the "super duper expensive" CCMS/ECM platforms, here's how Contentful content re-use works: https://training.contentful.com/student/page/792577-reusing-content-across-compose
And Paligo: https://paligo.net/content-reuse/ (although this is a deep-copy and not a true instance)

from cms.

brandonkelly avatar brandonkelly commented on June 5, 2024

@dolphiq-allard @humandevs See #8497 (reply in thread).

from cms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.