using ckeditor in symfony3

Asara

I try to use ckeditor in symfony3, I successfully installed it but get an error when I try to us it in my form as described in tutorial (https://symfony.com/doc/current/bundles/IvoryCKEditorBundle/index.html):

$builder->add('content', CKEditorType::class);

but that produces this error:

Type error: Argument 1 passed to Ivory\CKEditorBundle\Form\Type\CKEditorType::__construct() must be an instance of Ivory\CKEditorBundle\Model\ConfigManagerInterface, none given

it looks like, there is a problem because a FormType should not demand params in its constructor, am I wrong?

iknownothing

I had the same error and solved it by adding CKEditorBundle to AppKernel. This was stated in the comments of CountZero's answer. You can find IvoryCKEditorBundle installation notes here.

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
            // ...
        );

        // ...
    }
}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

using ckeditor in symfony3

From Dev

Symfony3 - Using LEFT or RIGHT with doctrine

From Dev

Image not found using LiipImagineBundle and Symfony3

From Dev

how does "{% use %}" work in twig using symfony3?

From Dev

Symfony3 using multiple AppKernel.php

From Dev

Symfony3: How to update boolean to false using PATCH method

From Dev

Can't install DoctrineMigrationsBundle with Symfony3 using composer

From Dev

how does "{% use %}" work in twig using symfony3?

From Dev

Symfony3/Doctrine2 : subquery with InnerJoin using QueryBuilder

From Dev

Symfony3 upload file without using FormBuilder

From Dev

Adding a MySQL Index to a column/s using Symfony3 and XML

From Dev

Using db arrays in set and include in symfony3

From Dev

Using own properties in CKEditor 4 plugin (upgrade from version 3)

From Dev

Install CKeditor using Bower

From Dev

Using ckeditor in jsf page

From Dev

Upload files using CKeditor

From Dev

Using ckeditor in jsf page

From Dev

Upload files using CKeditor

From Dev

How to getPath of Gedmo Tree element using symfony3, doctrine2 and stofDoctrineExtensionsBundle

From Dev

symfony3 & SonataAdmin & Formatter Bundle - Error when using formatter options "target_field" do not exist

From Dev

How to show custom server errors in UI using Plupload and Symfony3

From Dev

Meta tag from head goes into body on server using twig template symfony3

From Dev

Is it possible to generate an entity and the corresponding table in a single command using symfony3 console

From Dev

How to merge route parameters in MenuBuidler for language switcher functionality using KnpMenuBundle and Symfony3

From Dev

How can I send tinyMCE textarea editor content to inside controller using Symfony3 and Ajax

From Dev

Symfony | CKEditor placeholder

From Dev

Using a custom html tag in CKEditor

From Dev

Multiple Ckeditor using javascript Class

From Dev

Ajax with Symfony3

Related Related

  1. 1

    using ckeditor in symfony3

  2. 2

    Symfony3 - Using LEFT or RIGHT with doctrine

  3. 3

    Image not found using LiipImagineBundle and Symfony3

  4. 4

    how does "{% use %}" work in twig using symfony3?

  5. 5

    Symfony3 using multiple AppKernel.php

  6. 6

    Symfony3: How to update boolean to false using PATCH method

  7. 7

    Can't install DoctrineMigrationsBundle with Symfony3 using composer

  8. 8

    how does "{% use %}" work in twig using symfony3?

  9. 9

    Symfony3/Doctrine2 : subquery with InnerJoin using QueryBuilder

  10. 10

    Symfony3 upload file without using FormBuilder

  11. 11

    Adding a MySQL Index to a column/s using Symfony3 and XML

  12. 12

    Using db arrays in set and include in symfony3

  13. 13

    Using own properties in CKEditor 4 plugin (upgrade from version 3)

  14. 14

    Install CKeditor using Bower

  15. 15

    Using ckeditor in jsf page

  16. 16

    Upload files using CKeditor

  17. 17

    Using ckeditor in jsf page

  18. 18

    Upload files using CKeditor

  19. 19

    How to getPath of Gedmo Tree element using symfony3, doctrine2 and stofDoctrineExtensionsBundle

  20. 20

    symfony3 & SonataAdmin & Formatter Bundle - Error when using formatter options "target_field" do not exist

  21. 21

    How to show custom server errors in UI using Plupload and Symfony3

  22. 22

    Meta tag from head goes into body on server using twig template symfony3

  23. 23

    Is it possible to generate an entity and the corresponding table in a single command using symfony3 console

  24. 24

    How to merge route parameters in MenuBuidler for language switcher functionality using KnpMenuBundle and Symfony3

  25. 25

    How can I send tinyMCE textarea editor content to inside controller using Symfony3 and Ajax

  26. 26

    Symfony | CKEditor placeholder

  27. 27

    Using a custom html tag in CKEditor

  28. 28

    Multiple Ckeditor using javascript Class

  29. 29

    Ajax with Symfony3

HotTag

Archive