Plugin Development: How to set custom attributes to a cell
See original GitHub issueHow can I set a custom attribute for a cell that gets saved with the document?
getAttribute
/setAttribute
does not work the way I think.
I found this documentation, but it does not really help. I don’t understand how I can use an XML node as the value of the cell.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
how to call the value of a plugin custom attributes from javascript
hello, i would like to get the value af a plugin custom attributes in javascript, but i don't know the way. best regards...
Read more >Extend Gutenberg Blocks with Custom Attributes and Controls
Create custom Gutenberg block attributes & control using these available filters: blocks.registerBlockType, editor.BlockEdit & blocks.
Read more >Adding Custom Attributes | WordPress.org
I have the plugin installed and working. However, adding new custom attribute values I am having issues with. I can add the new...
Read more >How to add custom attributes to each timeslot cell in ...
I am building this Scheduler plugin on top of an existing backend system. One of the backend javascript detect clicks on elements with...
Read more >Custom Attributes Plugin - Mattermost
Plugin that allows you to add custom attributes to users in Mattermost.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For future reference:
This code is completely neutral to how draw.io edits and displays labels.
Documents with nodes that have been associated with data like this can be edited on draw.io without the need for plugins. Providing a custom
convertValueToString
is not necessary.@hediet Many many thanks. I’ve been searched a way for a long time, and your solution a perfect. Hope there will be a complete api document for plugin developers.