Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKEditorType in TranslationField not working #391

Open
ladenise opened this issue Apr 18, 2024 · 0 comments
Open

CKEditorType in TranslationField not working #391

ladenise opened this issue Apr 18, 2024 · 0 comments

Comments

@ladenise
Copy link

Environment

Composer packages

$ composer show

a2lix/auto-form-bundle 0.4.4 Automate form building
a2lix/translation-form-bundle 3.2.1 Translate your doctrine objects easily with some helpers
babdev/pagerfanta-bundle v3.8.0 Bundle integrating Pagerfanta with Symfony
brick/math 0.11.0 Arbitrary-precision arithmetic library
doctrine/annotations 1.14.3 Docblock Annotations Parser
doctrine/cache 2.2.0 PHP Doctrine Cache library is a popular cache implementation that supports many...
doctrine/collections 2.2.1 PHP Doctrine Collections library that adds additional functionality on top of P...
doctrine/common 3.4.3 PHP Doctrine Common project is a library that provides additional functionality...
doctrine/data-fixtures 1.7.0 Data Fixtures for all Doctrine Object Managers
doctrine/dbal 3.8.3 Powerful PHP database abstraction layer (DBAL) with many features for database ...
doctrine/deprecations 1.1.3 A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with ...
doctrine/doctrine-bundle 2.12.0 Symfony DoctrineBundle
doctrine/doctrine-fixtures-bundle 3.5.1 Symfony DoctrineFixturesBundle
doctrine/doctrine-migrations-bundle 3.3.0 Symfony DoctrineMigrationsBundle
doctrine/event-manager 2.0.0 The Doctrine Event Manager is a simple PHP event system that was built to be us...
doctrine/inflector 2.0.10 PHP Doctrine Inflector is a small library that can perform string manipulations...
doctrine/instantiator 2.0.0 A small, lightweight utility to instantiate objects in PHP without invoking the...
doctrine/lexer 2.1.1 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Desce...
doctrine/migrations 3.7.4 PHP Doctrine Migrations project offer additional functionality on top of the da...
doctrine/orm 2.19.3 Object-Relational-Mapper for PHP
doctrine/persistence 3.3.2 The Doctrine Persistence project is a set of shared interfaces and functionalit...
doctrine/sql-formatter 1.2.0 a PHP SQL highlighting library
dompdf/dompdf v2.0.4 DOMPDF is a CSS 2.1 compliant HTML to PDF converter
easycorp/easyadmin-bundle v4.9.4 Admin generator for Symfony applications
egulias/email-validator 4.0.2 A library for validating emails against several RFCs
ezyang/htmlpurifier v4.17.0 Standards compliant HTML filter written in PHP
fakerphp/faker v1.23.1 Faker is a PHP library that generates fake data for you.
friendsofphp/proxy-manager-lts v1.0.18 Adding support for a wider range of PHP versions to ocramius/proxy-manager
friendsofsymfony/ckeditor-bundle 2.5.0 Provides a CKEditor integration for your Symfony project.
helios-ag/fm-elfinder-bundle 12.5 ElFinder bundle, adds ElFinder file manager to your Symfony project
knplabs/doctrine-behaviors 2.6.2 Doctrine Behavior Traits
knplabs/knp-menu v3.5.0 An object oriented menu library
knplabs/knp-menu-bundle v3.3.0 This bundle provides an integration of the KnpMenu library
laminas/laminas-code 4.13.0 Extensions to the PHP Reflection API, static code scanning, and code generation
league/csv 9.0.0 Csv data manipulation made easy in PHP
maennchen/zipstream-php 3.1.0 ZipStream is a library for dynamically streaming dynamic zip files from PHP wit...
markbaker/complex 3.0.2 PHP Class for working with complex numbers
markbaker/matrix 3.0.1 PHP Class for working with matrices
masterminds/html5 2.9.0 An HTML5 parser and serializer.
mhujer/breadcrumbs-bundle 1.5.9 Breadcrumbs bundle for Symfony
monolog/monolog 3.5.0 Sends your logs to files, sockets, inboxes, databases and various web services
myclabs/deep-copy 1.11.1 Create deep copies (clones) of your objects
nette/utils v3.2.10 🛠 Nette Utils: lightweight utilities for string & array manipulation, image...
nikic/php-parser v4.19.1 A PHP parser written in PHP
pagerfanta/core v3.8.0 Core Pagerfanta API
pagerfanta/doctrine-orm-adapter v3.8.0 Pagerfanta adapter for Doctrine ORM
pagerfanta/twig v3.8.0 Twig integration for Pagerfanta
phar-io/manifest 2.0.4 Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version 3.2.1 Library for handling version information and constraints
phenx/php-font-lib 0.5.6 A library to read, parse, export and make subsets of different types of font fi...
phenx/php-svg-lib 0.5.3 A library to read, parse and export to PDF SVG files.
phpdocumentor/reflection-common 2.2.0 Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock 5.3.0 With this component, a library can provide support for annotations via DocBlock...
phpdocumentor/type-resolver 1.8.2 A PSR-5 based resolver of Class names, Types and Structural Element Names
phpoffice/phpspreadsheet 1.29.0 PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsh...
phpstan/phpdoc-parser 1.28.0 PHPDoc parser with support for nullable, intersection and generic types
phpunit/php-code-coverage 9.2.31 Library that provides collection, processing, and rendering functionality for P...
phpunit/php-file-iterator 3.0.6 FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-invoker 3.1.1 Invoke callables with a timeout
phpunit/php-text-template 2.0.4 Simple template engine.
phpunit/php-timer 5.0.3 Utility class for timing
phpunit/phpunit 9.6.19 The PHP Unit Testing framework.
psr/cache 3.0.0 Common interface for caching libraries
psr/container 2.0.2 Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher 1.0.0 Standard interfaces for event handling.
psr/http-client 1.0.3 Common interface for HTTP clients
psr/http-factory 1.0.2 Common interfaces for PSR-7 HTTP message factories
psr/http-message 2.0 Common interface for HTTP messages
psr/link 2.0.1 Common interfaces for HTTP links
psr/log 3.0.0 Common interface for logging libraries
psr/simple-cache 3.0.0 Common interfaces for simple caching
ramsey/collection 2.0.0 A PHP library for representing and manipulating collections.
ramsey/uuid 4.7.5 A PHP library for generating and working with universally unique identifiers (U...
sabberworm/php-css-parser v8.5.1 Parser for CSS Files written in PHP
sebastian/cli-parser 1.0.2 Library for parsing CLI options
sebastian/code-unit 1.0.8 Collection of value objects that represent the PHP code units
sebastian/code-unit-reverse-lookup 2.0.3 Looks up which function or method a line of code belongs to
sebastian/comparator 4.0.8 Provides the functionality to compare PHP values for equality
sebastian/complexity 2.0.3 Library for calculating the complexity of PHP code units
sebastian/diff 4.0.6 Diff implementation
sebastian/environment 5.1.5 Provides functionality to handle HHVM/PHP environments
sebastian/exporter 4.0.6 Provides the functionality to export PHP variables for visualization
sebastian/global-state 5.0.7 Snapshotting of global state
sebastian/lines-of-code 1.0.4 Library for counting the lines of code in PHP source code
sebastian/object-enumerator 4.0.4 Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector 2.0.4 Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context 4.0.5 Provides functionality to recursively process PHP variables
sebastian/resource-operations 3.0.4 Provides a list of PHP built-in functions that operate on resources
sebastian/type 3.2.1 Collection of value objects that represent the types of the PHP type system
sebastian/version 3.0.2 Library that helps with managing the version number of Git-hosted PHP projects
setasign/setapdf-core 2.40.3.1782
setasign/setapdf-signer 2.40.3.1782
studio-42/elfinder 2.1.65 File manager for web
symfony/asset v6.2.7 Manages URL generation and versioning of web assets such as CSS stylesheets, Ja...
symfony/browser-kit v6.2.7 Simulates the behavior of a web browser, allowing you to make requests, click o...
symfony/cache v6.2.13 Provides extended PSR-6, PSR-16 (and tags) implementations
symfony/cache-contracts v3.4.2 Generic abstractions related to caching
symfony/config v6.2.13 Helps you find, load, combine, autofill and validate configuration values of an...
symfony/console v6.2.13 Eases the creation of beautiful and testable command line interfaces
symfony/css-selector v6.2.13 Converts CSS selectors to XPath expressions
symfony/debug-bundle v6.2.13 Provides a tight integration of the Symfony VarDumper component and the ServerL...
symfony/dependency-injection v6.2.13 Allows you to standardize and centralize the way objects are constructed in you...
symfony/deprecation-contracts v3.4.0 A generic function and convention to trigger deprecation notices
symfony/doctrine-bridge v6.2.13 Provides integration for Doctrine with various Symfony components
symfony/doctrine-messenger v6.2.12 Symfony Doctrine Messenger Bridge
symfony/dom-crawler v6.2.12 Eases DOM navigation for HTML and XML documents
symfony/dotenv v6.2.8 Registers environment variables from a .env file
symfony/error-handler v6.2.13 Provides tools to manage errors and ease debugging PHP code
symfony/event-dispatcher v6.2.13 Provides tools that allow your application components to communicate with each ...
symfony/event-dispatcher-contracts v3.4.2 Generic abstractions related to dispatching event
symfony/expression-language v6.2.7 Provides an engine that can compile and evaluate expressions
symfony/filesystem v6.2.12 Provides basic utilities for the filesystem
symfony/finder v6.2.14 Finds files and directories via an intuitive fluent interface
symfony/flex v2.4.5 Composer plugin for Symfony
symfony/form v6.2.13 Allows to easily create, process and reuse HTML forms
symfony/framework-bundle v6.2.13 Provides a tight integration between Symfony components and the Symfony full-st...
symfony/http-client v6.2.13 Provides powerful methods to fetch HTTP resources synchronously or asynchronously
symfony/http-client-contracts v3.4.2 Generic abstractions related to HTTP clients
symfony/http-foundation v6.2.13 Defines an object-oriented layer for the HTTP specification
symfony/http-kernel v6.2.14 Provides a structured process for converting a Request into a Response
symfony/intl v6.2.13 Provides access to the localization data of the ICU library
symfony/ldap v6.2.8 Provides a LDAP client for PHP on top of PHP's ldap extension
symfony/mailer v6.2.12 Helps sending emails
symfony/maker-bundle v1.50.0 Symfony Maker helps you create empty commands, controllers, form classes, tests...
symfony/messenger v6.2.13 Helps applications send and receive messages to/from other applications or via ...
symfony/mime v6.2.13 Allows manipulating MIME messages
symfony/monolog-bridge v6.2.8 Provides integration for Monolog with various Symfony components
symfony/monolog-bundle v3.10.0 Symfony MonologBundle
symfony/notifier v6.2.8 Sends notifications via one or more channels (email, SMS, ...)
symfony/options-resolver v6.2.7 Provides an improved replacement for the array_replace PHP function
symfony/password-hasher v6.2.7 Provides password hashing utilities
symfony/phpunit-bridge v6.4.6 Provides utilities for PHPUnit, especially user deprecation notices management
symfony/polyfill-intl-grapheme v1.29.0 Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-icu v1.29.0 Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-intl-idn v1.29.0 Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer v1.29.0 Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring v1.29.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-uuid v1.29.0 Symfony polyfill for uuid functions
symfony/process v6.2.13 Executes commands in sub-processes
symfony/property-access v6.2.13 Provides functions to read and write from/to an object or array using a simple ...
symfony/property-info v6.2.11 Extracts information about PHP class' properties using metadata of popular sources
symfony/proxy-manager-bridge v6.2.7 Provides integration for ProxyManager with various Symfony components
symfony/routing v6.2.13 Maps an HTTP request to a set of configuration variables
symfony/runtime v6.2.13 Enables decoupling PHP applications from global state
symfony/security-bundle v6.2.13 Provides a tight integration of the Security component into the Symfony full-st...
symfony/security-core v6.2.8 Symfony Security Component - Core Library
symfony/security-csrf v6.2.13 Symfony Security Component - CSRF Library
symfony/security-http v6.2.13 Symfony Security Component - HTTP Integration
symfony/serializer v6.2.13 Handles serializing and deserializing data structures, including object graphs,...
symfony/service-contracts v3.4.2 Generic abstractions related to writing services
symfony/stopwatch v6.2.7 Provides a way to profile code
symfony/string v6.2.13 Provides an object-oriented API to strings and deals with bytes, UTF-8 code poi...
symfony/translation v6.2.11 Provides tools to internationalize your application
symfony/translation-contracts v3.4.2 Generic abstractions related to translation
symfony/twig-bridge v6.2.13 Provides integration for Twig with various Symfony components
symfony/twig-bundle v6.2.7 Provides a tight integration of Twig into the Symfony full-stack framework
symfony/uid v6.2.7 Provides an object-oriented API to generate and represent UIDs
symfony/validator v6.2.13 Provides tools to validate values
symfony/var-dumper v6.2.13 Provides mechanisms for walking through any arbitrary PHP variable
symfony/var-exporter v6.2.13 Allows exporting any serializable PHP data structure to plain PHP code
symfony/web-link v6.2.7 Manages links between resources
symfony/web-profiler-bundle v6.2.13 Provides a development tool that gives detailed information about the execution...
symfony/webpack-encore-bundle v1.17.2 Integration with your Symfony app & Webpack Encore!
symfony/yaml v6.2.10 Loads and dumps YAML files
theseer/tokenizer 1.2.3 A small library for converting tokenized PHP source code into XML and potential...
twig/cache-extra v3.8.0 A Twig extension for Symfony Cache
twig/extra-bundle v3.8.0 A Symfony bundle for extra Twig extensions
twig/intl-extra v3.8.0 A Twig extension for Intl
twig/string-extra v3.8.0 A Twig extension for Symfony String
twig/twig v3.8.0 Twig, the flexible, fast, and secure template language for PHP
webmozart/assert 1.11.0 Assertions to validate method input/output with nice error messages.
zenstruck/assert v1.5.0 Standalone, lightweight, framework agnostic, test assertion library.
zenstruck/callback v1.5.0 Callable wrapper to validate and inject arguments.
zenstruck/foundry v1.37.0 A model factory library for creating expressive, auto-completable, on-demand de...

PHP version

$ php -v
PHP 8.2.4

Subject

I'm trying to add CKEditor for a translated field in an EasyAdmin CRUD.

TranslationField::new('translations', 'translations', [
    'name' => [
        'field_type' => TextType::class,
        'required' => true,
    ],
    'description' => [
        'field_type' => CKEditorType::class,
        'required' => false,
    ],
])

Steps to reproduce

Create an EasyAdminCRUD on a Knp\DoctrineBehaviors translated entity.
Use the TranslationField class and the CKEditorType field type class.

Expected results

I expect a rich text editor for the description field.

Actual results

I only get a textarea field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant