Coder Social home page Coder Social logo

Comments (4)

pmelab avatar pmelab commented on August 25, 2024

On output filtering: A lot of filters would just work on JSON (e.g. token replacement), but everything that expects valid HTML will break. Technically we could just run JSON -> HTML, apply output filters and then extract data again. But this would mean we lose the performance benefit of already storing parsed data.
Another option could be tagging output filters as compatible and only allow these.

from ckeditor5_sections.

dan2k3k4 avatar dan2k3k4 commented on August 25, 2024

We should also keep in mind how translations would work, sending a translation job via TMGMT - would we send the JSON to be translated or the computed HTML?

I suppose the diff module would use the computed HTML.

from ckeditor5_sections.

pmelab avatar pmelab commented on August 25, 2024

I think TMGMT is save. When using it "on site" it would just invoke the configured field widget, and for translation services we need special treatment anyway, like we have it on daimler now.

from ckeditor5_sections.

pmelab avatar pmelab commented on August 25, 2024

Another thought on output filtering: I think the "cleanest" way would be to do the filtering on-demand per property in GraphQL or Twig, since this would be conceptually the same as what paragraphs would do with output filtered fields. But I'm not sure if this would be feasible or not.

from ckeditor5_sections.

Related Issues (13)

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.