Closed ghost closed 6 years ago
Popup windows should close when close button is pressed. Image manager should select and load the image when it is selected.
The close button and the image manager are not working properly when a component is clicked [the component's event is not triggered]
Install KMSFroalaEditorBundle.
https://github.com/froala/KMSFroalaEditorBundle Steps: 1,2,3,4,5
Configure services.yml
kms_froala_editor.form.type: class: "KMS\\FroalaEditorBundle\\Form\\Type\\FroalaEditorType" arguments: [ "@kernel", "@service_container", "@kms_froala_editor.option_manager", "@kms_froala_editor.plugin_provider" ] tags: - { name: "form.type", alias: "froala" }
kms_froala_editor.option_manager: class: "KMS\\FroalaEditorBundle\\Service\\OptionManager" arguments: [ "@router" ]
kms_froala_editor.plugin_provider: class: "KMS\\FroalaEditorBundle\\Service\\PluginProvider"
kms_froala_editor.media_manager: public: true class: "KMS\\FroalaEditorBundle\\Service\\MediaManager"
kms_froala_editor.froala_extension: class: "KMS\\FroalaEditorBundle\\Twig\\FroalaExtension" arguments: [ "@service_container" ] tags: - { name: twig.extension }
On a class form write
->add('content', FroalaEditorType::class, array( 'language' => 'es', 'label' => false, 'required' => true, ))
then when the editor is loaded events should not be triggered when a component is clicked on popup windows.
MacOs Sierra 10.13.4
Chrome 66.0.3359.117 (Official Build) (64-bit)
It is fixed, it was because i was using a new version of font awesome .
Symfony 4
Expected behavior.
Popup windows should close when close button is pressed. Image manager should select and load the image when it is selected.
Actual behavior.
The close button and the image manager are not working properly when a component is clicked [the component's event is not triggered]
Steps to reproduce the problem.
Install KMSFroalaEditorBundle.
https://github.com/froala/KMSFroalaEditorBundle Steps: 1,2,3,4,5
Configure services.yml
Form type.
Option provider.
Plugin provider.
Media manager.
Twig extension.
On a class form write
then when the editor is loaded events should not be triggered when a component is clicked on popup windows.
OS.
MacOs Sierra 10.13.4
Browser.
Chrome 66.0.3359.117 (Official Build) (64-bit)