shimataro / cazary

jQuery plugin of WYSIWYG editor that aims for fast, lightweight, stylish, customizable, cross-browser, and multi-language.
http://shimataro.github.io/cazary/
MIT License
12 stars 6 forks source link

Target missing #4

Open AkoeGit opened 8 years ago

AkoeGit commented 8 years ago

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 commented 8 years ago

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!