Skip to content

cannot create link with href attr #393

@Size-of

Description

@Size-of

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions