You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
The control for this would be a table where the user can enter key and value if that exists. Otherwise we must talk and find another option. Alternatively, if we can parse this, a JSON editor is fine, too.
" and ' need to be swapped because the JSON may contain ". If it contains ' and other characters that are not allowed, it needs to be HTML encoded. I don't know the exact rules but will post these as I get response from the dev who wrote it.
If a key or value is undefined, do not add the property to the JSON.
Store the JSON with the plugin parameters and inject it.
2 Add query params for evaluation-key and domain-verification-code to target the correct project in developers platform.
To all links that link to https://developers.attach.live/... and contain a /latest segment, add
?evaluation-key={}&domain-verification-code={}
if these properties are set in the plugin UI. This allows our backend to find the correct project. Leave out if a property isn't set.
3 The icon is currently a JPG. Does it have to be or shouldn't we switch this to PNG?
4 Document how properties can be set as shortcodes. If a shortcode is entered, there is a way to manually add parameters to it in WordPress. These parameters must be added like the JSON as well. We need to speak about this.
div data-properties
to set individual properties directly from WordPress.Currently, these two divs are injected for our
Reactions
andPreview
embeds, respectively:We allow to set many further properties by injecting a JSON map [A] into
data-properties
:also see: https://github.com/attach-live/attach-properties/blob/master/properties/embeds/reactions.html#L18
The control for this would be a table where the user can enter key and value if that exists. Otherwise we must talk and find another option. Alternatively, if we can parse this, a JSON editor is fine, too.
"
and'
need to be swapped because the JSON may contain"
. If it contains'
and other characters that are not allowed, it needs to be HTML encoded. I don't know the exact rules but will post these as I get response from the dev who wrote it.If a key or value is undefined, do not add the property to the JSON.
Store the JSON with the plugin parameters and inject it.
2 Add query params for
evaluation-key
anddomain-verification-code
to target the correct project indevelopers
platform.To all links that link to
https://developers.attach.live/...
and contain a/latest
segment, addif these properties are set in the plugin UI. This allows our backend to find the correct project. Leave out if a property isn't set.
3 The icon is currently a JPG. Does it have to be or shouldn't we switch this to PNG?
4 Document how properties can be set as shortcodes. If a shortcode is entered, there is a way to manually add parameters to it in WordPress. These parameters must be added like the JSON as well. We need to speak about this.
developers
: https://github.com/attach-live/attach-developers/issues/740The text was updated successfully, but these errors were encountered: