luceos Littlegolden that is nice! Does it work with the default triple backtick codeblocks from markdown?
Littlegolden luceos luceos Does it work with the default triple backtick codeblocks from markdown? Yes, it does.
ryanwang Flarum encountered a boot error (Illuminate\Contracts\Container\BindingResolutionException) Target class [FFans\ClipboardJS\Listeners\SaveSettings] does not exist. thrown in /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Container.php on line 805 ReflectionException: Class FFans\ClipboardJS\Listeners\SaveSettings does not exist in /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Container.php:803 Stack trace: #0 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Container.php(803): ReflectionClass->__construct() #1 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Container.php(681): Illuminate\Container\Container->build() #2 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->resolve() #3 /data/wwwroot/bbs.halo.run/vendor/illuminate/events/Dispatcher.php(176): Illuminate\Container\Container->make() #4 /data/wwwroot/bbs.halo.run/vendor/illuminate/events/Dispatcher.php(162): Illuminate\Events\Dispatcher->resolveSubscriber() #5 /data/wwwroot/bbs.halo.run/vendor/ffans/clipboardjs/extend.php(25): Illuminate\Events\Dispatcher->subscribe() #6 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/BoundMethod.php(36): Flarum\Extension\Extension->FFans\ClipboardJS\{closure}() #7 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #8 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/BoundMethod.php(81): Illuminate\Container\Util::unwrapIfClosure() #9 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod() #10 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Container.php(590): Illuminate\Container\BoundMethod::call() #11 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Extend/Compat.php(35): Illuminate\Container\Container->call() #12 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Extension/Extension.php(137): Flarum\Extend\Compat->extend() #13 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Extension/ExtensionManager.php(334): Flarum\Extension\Extension->extend() #14 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(30): Flarum\Extension\ExtensionManager->extend() #15 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}() #16 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Foundation/Application.php(322): call_user_func() #17 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Foundation/Application.php(263): Flarum\Foundation\Application->fireAppCallbacks() #18 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Foundation/InstalledSite.php(148): Flarum\Foundation\Application->boot() #19 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Foundation/InstalledSite.php(81): Flarum\Foundation\InstalledSite->bootLaravel() #20 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Http/Server.php(56): Flarum\Foundation\InstalledSite->bootApp() #21 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Http/Server.php(33): Flarum\Http\Server->safelyBootAndGetHandler() #22 /data/wwwroot/bbs.halo.run/public/index.php(26): Flarum\Http\Server->listen() #23 {main} Next Illuminate\Contracts\Container\BindingResolutionException: Target class [FFans\ClipboardJS\Listeners\SaveSettings] does not exist. in /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Container.php:805 Stack trace: #0 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Container.php(681): Illuminate\Container\Container->build() #1 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->resolve() #2 /data/wwwroot/bbs.halo.run/vendor/illuminate/events/Dispatcher.php(176): Illuminate\Container\Container->make() #3 /data/wwwroot/bbs.halo.run/vendor/illuminate/events/Dispatcher.php(162): Illuminate\Events\Dispatcher->resolveSubscriber() #4 /data/wwwroot/bbs.halo.run/vendor/ffans/clipboardjs/extend.php(25): Illuminate\Events\Dispatcher->subscribe() #5 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/BoundMethod.php(36): Flarum\Extension\Extension->FFans\ClipboardJS\{closure}() #6 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #7 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/BoundMethod.php(81): Illuminate\Container\Util::unwrapIfClosure() #8 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod() #9 /data/wwwroot/bbs.halo.run/vendor/illuminate/container/Container.php(590): Illuminate\Container\BoundMethod::call() #10 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Extend/Compat.php(35): Illuminate\Container\Container->call() #11 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Extension/Extension.php(137): Flarum\Extend\Compat->extend() #12 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Extension/ExtensionManager.php(334): Flarum\Extension\Extension->extend() #13 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(30): Flarum\Extension\ExtensionManager->extend() #14 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}() #15 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Foundation/Application.php(322): call_user_func() #16 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Foundation/Application.php(263): Flarum\Foundation\Application->fireAppCallbacks() #17 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Foundation/InstalledSite.php(148): Flarum\Foundation\Application->boot() #18 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Foundation/InstalledSite.php(81): Flarum\Foundation\InstalledSite->bootLaravel() #19 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Http/Server.php(56): Flarum\Foundation\InstalledSite->bootApp() #20 /data/wwwroot/bbs.halo.run/vendor/flarum/core/src/Http/Server.php(33): Flarum\Http\Server->safelyBootAndGetHandler() #21 /data/wwwroot/bbs.halo.run/public/index.php(26): Flarum\Http\Server->listen() #22 {main} what should I do?
Littlegolden ryanwang Seems like vendor/ffans/clipboardjs/src/Listeners/SaveSettings.php was not installed correctly ( which is missing ). If the file does not exist on the server, try copying this directly to the folder.
HD3D Littlegolden Great work as always. Is it possible to make a url clickable instead of plain or syntax if it is within a code?
Littlegolden 0.1.0-beta.15.3 Set default theme value Previously needed to manually select default theme after installed so the default button can get the default class name. Add 9 languages http, lua, makefile, objectivec, perl, properties, python-repl, rust, swift Fix the problem that the values of code language button and enable copy button are reversed under Chinese language.
Littlegolden 0.1.0-beta.16 Support beta 16 Update composer require ffans/clipboardjs php flarum cache:clear
Bishwas-py Littlegolden The app is super cool, but perhaps the language detection isn't smart enough. #no_offence
Littlegolden Bishwas-py thx, how about using map? const map = new Map([ [style:'a', {btn: '1', true: '√', false: '×'}], [style:'b', {btn: '2', true: '√', false: '×'}], [style:'c', {btn: '3', true: '√', false: '×'}], ]);
Justoverclock i didn't see accurately, but i think he need to tag only ^1.0.0 for the core, and it works
Justman10000 Littlegolden [InvalidArgumentException] Could not find a version of package ffans/clipboardjs matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.
Littlegolden 🌟 v1.0.0 Flarum 1.0.0+ Compatibility Update composer require ffans/clipboardjs php flarum cache:clear
zhanzhang This plug-in is installed, but it has no effect when copying and pasting code. It may be the wrong method. Ask for help, how to use it?
alfredo zhanzhang Sorry if it's a bit late, but to use the plugin, I've seen that it works with ["code"] //line code [/code] without "