Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target missing #4

Open
AkoeGit opened this issue Nov 17, 2015 · 1 comment
Open

Target missing #4

AkoeGit opened this issue Nov 17, 2015 · 1 comment

Comments

@AkoeGit
Copy link

AkoeGit commented Nov 17, 2015

Hi,

It's a great plain editor, I like it because of its plainness.

But can you add a "target" option when you insert a link, because now the page always opens in the same window.

Thnx a lot!
Davy

@shimataro
Copy link
Owner

Unfortunately, execCommand API -- used in Cazary when create link -- doesn't support target property.
When Cazary supports target, it's needed to be implemented without using execCommand. So code might be complex (since IE8 doesn't support surroundContents, I'll have to implement by own efforts...)

But, surroundContents-like function might be useful. I'll try to implement!

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

No branches or pull requests

2 participants