From 740d1d874a0224fd5044f68aa994710efc97f1c9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 16 Jan 2022 12:02:46 +0100 Subject: [PATCH] docs: warn fragment vs import compat --- resources/docs/docs/widgets/advanced-syntaxes.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 1e11fa6c..e78fce3d 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -70,6 +70,9 @@ File paths are resolved in this order: - in the server's `remote-root` directory if the option is set - as absolute paths +!!! warning + Fragments and session files already loaded with fragment widgets should not be imported using this syntax. + ## Javascript: `JS{ }` This syntax allows defining a property using [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript). The code will be compiled as a function and executed in a restricted context.