use leaflet DomEvent and process links with mapbbcode_edit class