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

cannot create link with href attr #393

Open
Size-of opened this issue Apr 27, 2018 · 0 comments
Open

cannot create link with href attr #393

Size-of opened this issue Apr 27, 2018 · 0 comments

Comments

@Size-of
Copy link

Size-of commented Apr 27, 2018

this error seems to happen to getOptions function:

function getOptions(value) {
    var options = typeof value === 'object' ? value : {'href': value};
    return wysihtml.lang.object({}).merge(nodeOptions).merge({'attribute': value}).get();
 }

the options variable was just defined but not used, i must need pass an object value , like { href: ‘http://xxx' }, it can be worked.

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

1 participant