laravel-shortcodes icon indicating copy to clipboard operation
laravel-shortcodes copied to clipboard

Wordpress like shortcodes for Laravel 4.2, 5.x, 6.x, 7.x, 8.x, 9.x and 10.x

Results 18 laravel-shortcodes issues
Sort by recently updated
recently updated
newest added

Current behavior : Shortcode::strip($string) will remove a shortcode like this : `[link href="/toto"]Toto[/link]` => `` (empty) Proposal : It would be great to add a parameter into strip method in...

enhancement

Hi, im have issue with shortcodes.. Shortcode: public function register($shortcode, $content, $compiler, $name, $viewData) { return sprintf('%s', $shortcode->class, $content); } Compile: {{ \Shortcode::compile('[div class="row"][div class="col-12"]Bold text[/div][/div]') }} Output: Bold text[/div]...

using Laarvel 5.8 Type error: Argument 2 passed to Webwizo\Shortcodes\View\View::__construct() must be an instance of Illuminate\View\Engines\EngineInterface, instance of Illuminate\View\Engines\CompilerEngine given, called in D:\xampp\htdocs\shopping_new\vendor\webwizo\laravel-shortcodes\src\View\Factory.php on line 50

I've registered this Shortcode::register('colmd3', 'App\Shortcodes\ColumnShortcode@colmd3'); into my **ShortcodesServiceProvider** while applying it's working fine ``` [colmd3 class="col-sm-4"] [/colmd3] ``` **but extra class is not applying** ``` [colmd3 class="col-sm-4 text-center"] [/colmd3] ```...

I found that this comment: > THANK YOU VERY MUCH! > [I AM SO SORRY THAT MY ENGLISH IS POOR .... Caused some very unexpected output. ` THANK YOU VERY...

for example, in the description I added the shortcode faq then deleted it well and, accordingly, the shortcode, but it is shown as a string. can add functionality to strip...

Hi there, can you please update the package, so it does support Laravel 10? Kind regards