Skapade stöd för att kunna stil upp pluginet med en egen stilmalla

This commit is contained in:
2026-04-03 09:18:02 +02:00
parent 523c743de9
commit cdef12ef18
4 changed files with 93 additions and 15 deletions

15
blocks/block.json Normal file
View File

@@ -0,0 +1,15 @@
{
"apiVersion": 2,
"name": "spotify-recent-oauth/recent-track",
"title": "Spotify Recent Track",
"category": "widgets",
"icon": "format-audio",
"description": "Visar din senast spelade låt från Spotify.",
"supports": {
"html": false
},
"editorScript": "sro-block-js",
"style": "sro-style",
"editorStyle": "sro-editor-style",
"render": "sro_render_recent_track"
}