From f53b9df7452ef886cf85db5bb72a48f32dce3dbb Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 1 Jan 2024 13:47:10 -0400 Subject: content: specify mutable across html & attributes slots --- src/content/dependencies/linkTemplate.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/content/dependencies/linkTemplate.js') diff --git a/src/content/dependencies/linkTemplate.js b/src/content/dependencies/linkTemplate.js index f683ac6b..63cc82e8 100644 --- a/src/content/dependencies/linkTemplate.js +++ b/src/content/dependencies/linkTemplate.js @@ -15,10 +15,17 @@ export default { path: {validate: v => v.validateArrayItems(v.isString)}, hash: {type: 'string'}, linkless: {type: 'boolean', default: false}, - tooltip: {type: 'string'}, - attributes: {type: 'attributes'}, - content: {type: 'html'}, + + attributes: { + type: 'attributes', + mutable: true, + }, + + content: { + type: 'html', + mutable: false, + }, }, generate(slots, { -- cgit 1.3.0-6-gf8a5