From b47000be67621a16391e9c5b672b0afa887a599f Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio.bekerle@tugraz.at> Date: Mon, 5 Jul 2021 10:06:36 +0200 Subject: [PATCH] Remove obsolete initial-file-handling-state and clipboard-files attributes and document mandatory attributes --- README.md | 16 ++++++++++++++++ assets/dbp-signature.html.ejs | 2 -- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 280fe9f..842e3c9 100644 --- a/README.md +++ b/README.md @@ -167,3 +167,19 @@ Example: To ensure a uniform and responsive design the activity should occupy 100% of the window width when the activity width is less than 768 px. + +## Mandatory attributes + +If you are not using the `provider-root` attribute to "terminate" all provider attributes +you need to manually add these attributes so that the topic will work properly: + +```html +<dbp-signature + auth + requested-login-status + analytics-event + initial-file-handling-state + clipboard-files +> +</dbp-signature> +``` diff --git a/assets/dbp-signature.html.ejs b/assets/dbp-signature.html.ejs index 156ee28..602440b 100644 --- a/assets/dbp-signature.html.ejs +++ b/assets/dbp-signature.html.ejs @@ -71,8 +71,6 @@ nextcloud-webdav-url="<%= nextcloudWebDavURL %>" nextcloud-name="<%= nextcloudName %>" nextcloud-file-url="<%= nextcloudFileURL %>" - initial-file-handling-state - clipboard-files html-overrides="global-override" src="<%= getUrl(name + '.topic.metadata.json') %>" base-path="<%= getUrl('') %>" -- GitLab