laravel-shortcodes
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
Hello, first of all: Thanks for your great work! I have the following issue (bug?): I have the following controller: ``` Route::get('shortcode', function(){ return view('test.shortcode')->with("code", '[b class="bold"]Bold text[/b]'); }); ```...
By now tailwind (TW) is probably quite popular, with jit-mode in TW3 support that can write dynamic classes of the form **h-[400px]** The **[...]** character unfortunately overlaps with the beginning...
I have galley image and i will use laravel shortcodes to append it in content . I have one problem for handle css or js . Because in shortcode i...
I'm trying to insert a table row/s dynamically through form by shortcodes functionality. shortcode : [post id="1,2,3"] I'm trying to insert table 'post' with id=['1', '2', '3'] rows with my...
Hello, I am doing this: ``` [tabs] [tab]something[/tab] [tab]something[/tab] [tab]something[/tab] [/tabs] ``` but this generates this when the input was done through a WYSIWYG: ``` [tabs] [tab]something[/tab] [tab]something[/tab] [tab]something[/tab] [/tabs]...
Hi, i have a problem with nested same name tag shortcode. Example: ``` {!! shortcodes('[div class="row"][div class="col-md-6"]Column Left[/div][div class="col-md-6"]Column Right[/div][/div]') !!} ``` Output:  Inspect element:  Register shortcode: ```...
hi , i create a simple shortcode , it return blade and content a post (page) i need way to remove nested shortcode , page in page. or a simple...
I.e. [pdfmodal path=/files/docs_5eebb3f1b4e595.53497870.pdf modaltitle='Flat Rate Cost']Click Here[/pdfmodal] see the argument modaltitle it becomes weird object... Returns ``` Shortcode {#1455 ▼ #name: "pdfmodal" #attributes: array:4 [▼ "path" => "/files/docs_5eebb3f1b4e595.53497870.pdf" "modaltitle" =>...
Hi First of all great package. I can use it for views, but if i use it for mailing, it takes an error: Code ``` return $this->from('[email protected]', 'Sender Name') ->subject($this->newsletter->subject)...
hi, i have shortcode: [library type="document" id="68"] When create some page and i put that code inside text paragraf or after, all working fine! but, if i put that code...