Comments (9)
Maybe,
but i'm not using Sf 4 for the moment.
I have to install clean version of Sf 2, 3 and 4 to test all versions.
from kmsfroalaeditorbundle.
so the solution is to call the service inside services.yaml
file and make it public like so:
templating.helper.assets:
class: Symfony\Bundle\FrameworkBundle\Templating\Helper\AssetsHelper
arguments: ['@assets.packages']
public: true
from kmsfroalaeditorbundle.
@samarhxc I think we should replace the templating.helper.assets
with assets.packages
here:
What do you think?
from kmsfroalaeditorbundle.
Hi, any news about it? Thanks,
from kmsfroalaeditorbundle.
I just tried on fresh Sf4 install and all is working.
But you need to include the following bundles :
"symfony/asset": "^4.0", "symfony/twig-bundle": "^4.0",
In your bundles.php file you have to include Froala after those two bundles.
I continue testing because my profiler is broken.
from kmsfroalaeditorbundle.
Hi. I've just installed Symfony 4.1 and ran into the same issue.
Found this solution.
Also I got exception: The "kms_froala_editor.media_manager" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.
while trying to upload image.
It can be solved by adding public: true
to services.yaml
(the easiest way)
from kmsfroalaeditorbundle.
Hi,
I have tried fresh installation of Symfony 4.2.3 and it looks working fine. Anyone still facing the issue?
from kmsfroalaeditorbundle.
Looks like on S4.2.3 this is no longer happening.
from kmsfroalaeditorbundle.
@lexeo can you be specific please ? where exactly should I put public: true
?
this is my services.yaml
file:
# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
services:
# default configuration for services in *this* file
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
# makes classes in src/ available to be used as services
# this creates a service per class whose id is the fully-qualified class name
App\:
resource: '../src/*'
exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
# controllers are imported separately to make sure services can be injected
# as action arguments even if you don't extend any base controller class
App\Controller\:
resource: '../src/Controller'
tags: ['controller.service_arguments']
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
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.