Comments (4)
You have to drag and drop your image file, or click on the area to open the file browser.
from kmsfroalaeditorbundle.
I think I know what is going on here. The bug is actually with all plugins that have underscores in their names (image_manager is affected but so are others like paragraph_style). The list of plugins is obtained here:
https://github.com/froala/KMSFroalaEditorBundle/blob/master/Form/Type/FroalaEditorType.php#L134
and used to populate the Froala pluginsEnabled config setting. The problem is that while underscores between words in the correct format for generating paths to asset files (JS/CSS), pluginsEnabled expects camelCase plugin names.
The solution is to apply Doctrine\Common\Util\Inflector::camelize() to the array elements before setting $p_view->vars [ "arrOption" ][ "pluginsEnabled" ] on the line referenced above (while still using the original values on lines 135 and 136).
from kmsfroalaeditorbundle.
well, thats not what I meant, I'm talking about that "Browse":
as it is on https://www.froala.com/wysiwyg-editor
from kmsfroalaeditorbundle.
Good job !
Just fixed and commited, thank you !
from kmsfroalaeditorbundle.
Related Issues (20)
- Editor not display with toolbarinline option is true HOT 5
- Alert is seen after image or video uplaod and click outside HOT 1
- Problem with quick insert icons HOT 1
- How to work with Froala inside a form with multiple fields ? HOT 2
- Use CodeMirror twig ?
- Error 1 image cannot be loaded on Froala Symfony 4.x HOT 6
- Froala image upload to Filestack
- getPdf and spellChecker plugins does nothing HOT 3
- Will there be multiple css and/or js files included? HOT 3
- Why tag 4.0.0? HOT 8
- Bug froala_widget.html.twig HOT 1
- Fail to display on EasyAdminBundle HOT 2
- Support for php 8.1 and Symfony 6 HOT 2
- imageUploadToS3 Config
- How to handle Images/Files deletion via events ? HOT 2
- Font Awesome 3rd Party Plugin not enabled in config HOT 1
- Drop-downs of second tool bar are not opening when text is selected in IOS HOT 1
- Attempted to load class "Inflector" from namespace "Doctrine\Common\Util". HOT 2
- Documentation follow-up for the massive upgrade HOT 2
- Code style/static analysis HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kmsfroalaeditorbundle.