Comments (8)
i tried your code and it works as expected. what doesn't work to you? can you show me the result you see?
from flarum-ext-dsts.
try to change {TEXT}
to {ANYTHING}
from flarum-ext-dsts.
It works now. tks.
from flarum-ext-dsts.
I'm so sorry it doesn't work again. Once I add code below, It has the following error.
(new Extend\Formatter)
->configure(function (Configurator $config) {
$config->BBcodes->addCustom(
'[REPLY]{ANYTHING}[/REPLY]',
'<reply>{ANYTHING}</reply>'
);
}),
and I try to perform the following operations, error still exist.
php flarum cache:clear
rm -rf storge/cache/*
rm -rf storge/formatter/*
I know this problem has nothing to do with your dsts extension, but I installed your another great extension embed-video which has similar code, It works perfect. I don't know what the problem is.
Could you give me some directions? Thank you very much.
from flarum-ext-dsts.
you need this
use s9e\TextFormatter\Configurator;
add this after the others
from flarum-ext-dsts.
I've added use s9e\TextFormatter\Configurator;
like the top screenshot.
from flarum-ext-dsts.
remove the import
and change the line
->configure(function (Configurator $config) {
to
->configure(function ($config) {
clear cache and see if it works
from flarum-ext-dsts.
It doesn't work yet.
I found this link which encountered the same problem as me. The user solves the problem by trying to deactivate other extensions that have potential conflicts. I will try this way also. tks.
from flarum-ext-dsts.
Related Issues (4)
- Implementation of permission across separate tag HOT 1
- additional features HOT 3
- Tags update HOT 1
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 flarum-ext-dsts.