I have some node next below.
<span class="active"> text </span>
I just want to remove that class. and its event has triggered from outside of Editor.
I tried The best simple way of js style code with jQuery.
I already know about The PM has immutable rule of like that. every changes must handle by next steps like ‘state’, ‘apply’, ‘transaction’, ‘dispatch’.
but is there no exception on that? I just want switch to some attribute on node.
If I edit eidtor’s dom directly by something like jQuery. Can I turn off that immutable state for a while? (Forcely re-render)
I don’t need appropriate function by history plugin on that case. just only need styling for the user.
Should I build some decoration plugin on that ?
I just have curious…little. and need confirming by other people.
any advice would be thanksful.
sorry for my poor english.