Get node or mark attributes by type or name on the current editor state
The current editor state
The node or mark type or name
The attributes of the node or mark or an empty object
Get node or mark attributes by type or name on the current editor state