Add Content Editor, Content Manager roles to the Standard profile
What is the problem to solve?Currently, when you install a new Drupal site with the Standard profile, you get 3 user roles by default: admin, Authenticated user (logged-in user when this issue is...
View Article[meta] Should we use a release name sequence? If so what?
Many open source projects name minor releases, most famously being Ubuntu's somewhat silly names. I like this idea, and think a water themed sequence would be fun. Here's the proposed list using bodies...
View ArticleAdd test for SA-CORE-2024-002
Problem/MotivationThis is a followup to SA-CORE-2024-002 which affected CKEditor5ImageController. We should have a test that prevents this vulnerability from being reintroduced.Steps to...
View ArticleConcept of a hierarchical permission system
During my Google Summer of Code project I am implementing hierarchical permissions and I hope my work will become a part of Drupal 8 core. We have started the work with my mentor, Károly ‘chx’ Négyesi...
View Article[Add third party library] HTML attributes handling
Hi all,I've been working on a library these last days: HTMLTag.This library handles the creation of HTML tag and its attributes.Drupal has a class to handle its HTML tags Attributes. That class could...
View ArticleTranslation based on key instead of string in English
In the current drupal translation system (similar to Wordpress), translations are keyed by string.This has the following problems: - Possibility of nameclashes, if the same string is used in different...
View ArticleDefine service as lazy load from dependency injection
BackgroundImprove performances permitting developers to define injected dependencies as lazy.ProblemBring the lazy load service feature on-demand to dependencies injections. Contributor does not always...
View ArticleEnable the field interface for creating fields and view modes on content menu...
What is the problem to solve?Currently, when you create custom menu items only the fields provided by core appear in the form with a fixed arrangment. Since these links are a content entity they are...
View ArticleProvide users with a visual way to understand and build content types (dream...
Problem/MotivationFormerly titled "The options under the Add field drop-down describe the data you want to store, but the user was imagining the widget it would produce".During the usability sessions,...
View ArticleIncorporate simple Plain Language checker for content
Problem/MotivationSimilar to how we have built in support for spell checking into CKEditor, it would be useful to evaluate the reading level of the content that is produced. We need not do anything...
View ArticleExternal Entities
The purpose of this idea is to help Drupal become more impactful within a larger ecosystem of digital tools through the concept of an External Entity (aka: remote entity). I believe the Drupal...
View ArticleKiller feature: Fieldable Fields in core
Problem/MotivationThe need for collections of fields comes up in most Drupal projects and is normally solved by contrib modules or by coding custom fields.The normal solution is a light-weight entity...
View ArticlePrevent XSS in data attributes
Problem/MotivationIt is a common mistake in contrib JS to use markup from a data attribute without sanitizing it. Modules will store some description or caption in a data attribute then use it in JS...
View Article[regression] Drupal.editors.ckeditor5.onChange event doesn't fire after...
Problem/MotivationThe release of Drupal 10.2.5 has introduced a regression in (but not limited to) Site Studio's implementation of CKEditor 5 that results in user input being lost if they type too...
View ArticleGet rid of jQuery in displace event
Problem/MotivationThis is exact copy of #3390549: Get rid of jQuery in dialog events. but for `drupalViewportOffsetChange` event. And utilises same deprecation logic. It also required in jquery dialog...
View ArticleExplore the notion of renderers for bundles classes
Problem/MotivationThe bundle classes are awesome. I'm implementing a system that makes heavy use of them and the level of code encapsulation and reusability is fantastic. IMHO this feature marks the...
View ArticleAutocomplete widget fails to return results for Turkish capital letter...
Problem/MotivationThe Entity Reference field's Autocomplete widget fails to return results when the search query contains the uppercase Turkish "İ" (U+0130). But if you do the same query with lowercase...
View ArticlePrepare full typing of StatementInterface methods' parameters
Problem/MotivationLots of work has gone into Statement classes in the last couple of majors. Maybe we can now reflect that in the typehinting of StatementInterface methods' parameters.Proposed...
View Article[PP-1] Add typehints and $exception_on_invalid parameter to...
Problem/MotivationIn #3490787: Make it possible not to throw an exception when accessing a non-existing field with FieldableEntityInterface::get(), support for a second boolean parameter...
View ArticleDrag and drop of media and text duplicates embedded media
Problem/MotivationAn embedded media is duplicated if draged-and-dropped together with text. It seems that drag and drop is only supported by using the handle - except for text, where we do not have a...
View Article