HTML Ancor (id) in accordeon block
-
Hello, I want to set id-s for specific link, which would open a spesific accordeon item in the accoredeon block, for example I want to set id “#mdt” and the link https://example.com/link#mdt to link to the second accordeon item “Местни данъци и такси” in active mode. In the settings of the accordeon block in Gutenberg there is no such field “html ancor”, I have a js script, which opens the specific accordeon item, but works with specific id, where must I put the custom id? When I put it directly in code editor in the page and get back to block editor, the block editor says that there is a mistake, and it is not possible to make any changes to the accordeon item, it is invalid. Thanks in advance!
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.