Is there a way to retrieve the style of a content-editable container? Essentially, I am looking to extract:
color: red; font-weight: bold;
from this snippet inside a content-editable div:
<span style='color: red; font-weight: bold;'>
...
</span>
If you have any insights on how this can be achieved, I would greatly appreciate it!
Additionally, having the css information as an object would be a bonus.