Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins not used on included content #1032

Closed
openorclose opened this issue Feb 8, 2020 · 2 comments · Fixed by #1051
Closed

Plugins not used on included content #1032

openorclose opened this issue Feb 8, 2020 · 2 comments · Fixed by #1051

Comments

@openorclose
Copy link
Contributor

What did you do? Please include the actual source code causing the issue.

//index.md
<panel src="inc.md"></panel>
<panel><span heading><b>header</b></span> Content of panel</panel>



//inc.md
<panel><span heading><b>header</b></span> Content of panel</panel>

What did you expect to happen?

Both the contentful panels should look the same.

What actually happened? Please include the actual, raw output.
image

This happens because plugins are not rendered on included files.

Should this be documented, or is this a bug?

@ang-zeyu
Copy link
Contributor

ang-zeyu commented Feb 8, 2020

To be more precise, it's not rendered on dynamic includes ( <panel> or <include dynamic> ),
but for static <include>s it is

Not sure if its a bug or intended too though

@damithc
Copy link
Contributor

damithc commented Feb 9, 2020

Should this be documented, or is this a bug?

I don't think that is intentional. Dynamic panels should look the same as other panels except the content will not be loaded until they are expanded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants