Comments (4)
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.
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.
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.
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)
- Outdated dependencies, vulnerabilities found.
- Remove token replacement from data extractor
- @pmelab @monya007 I tested the PR on NOBEL. GraphQL part is broken.
- CKeditor5 v12 upgrade HOT 3
- Run ckeditor5 plugin tests
- Empty paragraphs are not deleted with backspace HOT 1
- Linkit in formatted text areas HOT 1
- Plain text fields should not allow linebreaks (shift+enter)
- Block pasting when focus is not in an editable field HOT 1
- Port options feature into web components
- Line breaks (<br>) are duplicated on save HOT 2
- Make it possible to enable CKEditor5v12 Inspector for better development HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckeditor5_sections.