diff --git a/README.md b/README.md index 280fe9fca10710b41b397e9debe93bca4181ccc3..842e3c96e63eff89c22705d8d2ad8ccbc480383f 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 156ee28e0d3e54a3fbd5d678b148b070c369eff1..602440bbbcc276377db0f9d121c4c7ee31377286 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('') %>"