amazeelabs / ckeditor5_sections Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://www.drupal.org/project/ckeditor5_sections
Home Page: https://www.drupal.org/project/ckeditor5_sections
These vulnerabilities are all addressed by dependabot here: https://github.com/AmazeeLabs/ckeditor5_sections/network/alerts but these are not addressed yet.
Currently, yarn audit
outputs this:
355 vulnerabilities found - Packages audited: 706
Severity: 339 Low | 5 Moderate | 11 High
There are some dependabots PR that deal with some of these, but not all.
An idea how this update API could look like:
<?php
function my_module_post_update_teaser_changes() {
\Drupal::service('sections.update_manager')->update([
'Teaser' => function($teaser) {
// Renamed "title" field to "headline"
$teaser['headline'] = $teaser['title'];
unset($teaser['title']);
}
]);
}
Replace the builtin link plugin with a custom one that also uses linkit, like the button component does right now.
Currently, pasting replaces selected widgets and leave the editor in a non-operational state.
Token replacement should not happen during data extraction. Depending on how data is, tokens should possibly not be replaced (e.g. for translations).
Re-enable running the tests for the include ckeditor5 plugins from within this directory. From Travis as well as locally.
@pmelab @monya007 I tested the PR on NOBEL. GraphQL part is broken.
Media fields are turned into simple text fields.
Originally posted by @Leksat in #35 (comment)
Hi Amazees,
first of: I really, really like the approach taken in this (suite of) module. WYSIWYG editors have had a bad reputation for a reason but the mere possibilty of using webcomponents or the prospect of collaborative editing make me rather giddy :)
I struggled a bit to get a development environment set up that would allow to tinker (and create tests) with the modules that make up ckeditor5_sections
.
I thus ultimately upgraded to the latest ckeditor5 v12. I am aware that that v12 introduces several breaking changes but was able to get all tests to pass with relatively minor changes. Please see my fork of the CKeditor repo which pulls in the ckeditor5-master
as well as the upgraded forks for ckeditor5-drupal-media, ckeditor5-drupal-linkit, ckeditor5-template.
The tests are green (adjusting some output in a few limited cases) - but I certainly would not claim to have fully grokked all that is going on. As I couldn't get the tests to run in the current setup, I wasn't either fully able to check all manual tests and there remain some CSS that isn't properly resolved (on running yarn run manual
).
To review please clone the main repo and run tests.
git clone [email protected]:frega/ckeditor5.git --branch ckeditor5v12 ; cd ckeditor5
mgit sync
yarn install
yarn run manual
and yarn run test --files=template && yarn run test --files=drupal-media && yarn run test --files=drupal-linkit
.Let me know what your plan with regard to CKeditor5 v12 is and whether you'd like me to open PRs in the respective (sub)repositories.
Best, Fredrik
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.