Documentation
Link
link.add
element | Dom | Dom element of the added link. |
url | String | Url of the added link. |
text | String | Text of the added link. |
Occurs whenever a link is formatted in the editable block.
RedactorX('#entry', {
subscribe: {
'link.add': function(event) {
var $link = event.get('element');
}
}
});
link.change
element | Dom | Dom element of the added link. |
url | String | Url of the added link. |
text | String | Text of the added link. |
Occurs whenever a link is editted.
RedactorX('#entry', {
subscribe: {
'link.change': function(event) {
var $link = event.get('element');
}
}
});
link.remove
url | String | Url of the added link. |
text | String | Text of the added link. |
Occurs whenever a link removed (unlink).
RedactorX('#entry', {
subscribe: {
'link.remove': function(event) {
...
}
}
});
dkjgvo65776inru43654