active_admin_editor
active_admin_editor copied to clipboard
mailto link not working
There is issue in adding mailto on any link rather than adding any url. Email id is get removed from the link and target="_blank" is added.
+1
You need to change the parser rules to be able to remove the targe blank and add mailto links
Thanks @markdavies for the fork! Looks like the new version of the wysiwyg js paired with:
ActiveAdmin::Editor.configure do |config|
config.parser_rules['tags']['a']['check_attributes'] = {
'href' => 'href'
}
end
Will do the trick