You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to know if it is possible to somehow listen for the pasting event and modify the span tag attributes. For example I want it to be possible that when I paste some text it could be in this format: <span data-src="test">PASTED TEXT</span>
I want it to include the data-src. Has this been possible?
The text was updated successfully, but these errors were encountered:
Hi, thank you for the response. I already tried using the event, my question is more what function inside Etherpad's source code I can call in order to add custom atributes to the pasted tag.
I want to know if it is possible to somehow listen for the pasting event and modify the span tag attributes. For example I want it to be possible that when I paste some text it could be in this format:
<span data-src="test">PASTED TEXT</span>
I want it to include the data-src. Has this been possible?
The text was updated successfully, but these errors were encountered: