Skip to content
This repository has been archived by the owner on Aug 1, 2018. It is now read-only.

mailto link not working #47

Open
rajkrgoyal opened this issue Dec 3, 2013 · 3 comments
Open

mailto link not working #47

rajkrgoyal opened this issue Dec 3, 2013 · 3 comments

Comments

@rajkrgoyal
Copy link

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.

@markdavies
Copy link

+1

@mmenafra
Copy link

You need to change the parser rules to be able to remove the targe blank and add mailto links

@hhff
Copy link

hhff commented Oct 13, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants