Comments (2)
Currently there is only one solution to disable Decoda's default emoticons.
Extends FM\BbcodeBundle\Decoda\Hook\EmoticonHook
class and override getEmoticonCollection
method without the code between line 157 and line 176 and sets the parameter fm_bbcode.decoda.hook.emoticon.class
with your extended class name (ref).
from fmbbcodebundle.
This would work if only extened class could access private function used in
FMBbCodeBundle/Decoda/Hook/EmoticonHook.php
Line 183 in a46ba41
FMBbCodeBundle/Decoda/Hook/EmoticonHook.php
Line 293 in a46ba41
from fmbbcodebundle.
Related Issues (20)
- [Insight] The Symfony Dependency Injection Container should not be passed as an argument - in Decoda/Hook/EmoticonHook.php, line 56 HOT 4
- How to use the template option ? HOT 3
- How to use bbcode_clean directly in controller ? HOT 16
- Add configuration option for setMaxNewlines
- Make bundle compatible with SF3.0 HOT 11
- List of availableBBCodes HOT 3
- [code] Crash HOT 2
- Disable filters/hooks via config.yml? HOT 1
- [code] encode base64 problem
- Special spaces and emoticons
- Errors while clearing the symfony cache HOT 1
- Problem with ulr tag which contain "_" HOT 1
- Is compatible with Symfony 4? HOT 1
- problem with [img] and emoticon HOT 1
- Dependabot can't resolve your PHP dependency files
- Dependabot can't resolve your PHP dependency files
- Dependabot can't resolve your PHP dependency files
- Dependabot can't resolve your PHP dependency files
- Compatible with Symfony 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 fmbbcodebundle.