getgrav / grav-plugin-shortcode-ui

Grav Shortcode UI Plugin

Home Page:https://getgrav.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Want to use functions in modular pages

marck-consulting opened this issue · comments

If I enter new content (over the admin panel) stuff from the shortcode-ui won't get rendered at all. Anything I need to focus on?

Are you using the standard editor? What does the contents of your .md file look like? Do the shortcodes look as they should?

It's sort of hard to know what the issue is unless you give an example of the shortcode you have entered, as it could be anything from a typo, to not loading css/js, to invalid format, etc.

Yes I'm using the standard editor. Shortcode itself is looking fine:

---
title: 'Status'
background_image: ''
button_label: ''
button_url: ''
right_image: ''
right_image_alt: ''
link_label: ''
link_url: ''
content:
    items: '@self.modular'
---

!! [size=20]**Lorem Ipsum**[/size]

### Topic
[ui-accordion independent=true open=none]
[ui-accordion-item title="Title1"]
Content1
[/ui-accordion-item]
[ui-accordion-item title="Title2"]
Content2
[/ui-accordion-item]
[ui-accordion-item title="Title3"]
Content3
[/ui-accordion-item]
[ui-accordion-item title="Title4"]
Content4
[/ui-accordion-item]
[ui-accordion-item title="Title5"]
Content5
[/ui-accordion-item]
[ui-accordion-item title="Title6"]
Content6
[/ui-accordion-item]
[ui-accordion-item title="Title7"]
Content7
[/ui-accordion-item]
[ui-accordion-item title="Title8"]
Content8
[/ui-accordion-item]
[ui-accordion-item title="Title9"]
Content9
[/ui-accordion-item]
[/ui-accordion]

But rendered it looks like this (the plugin and there the css won't get loaded at all I guess):
Bildschirmfoto 2020-10-22 um 12 54 18

Ok that should work... i'll take a look at this shortly

If you need any information or live testing capabilities, let me know. Would be happy to help out as far as possible.