Skip to content

Include other attributes in link formatting #18

@ghost

Description

Currently, the link only passes on the href and linkText. I also need to include the link name and a custom attribute called xt and it's value.

I've tried modifying the code but had no luck at all.

Here is an example of my link HTML output:
<a data-mce-href="http://1.com" href="http://1.com" target="_blank" class="SPCLICK" name="me" rel="noopener" data-mce-selected="inline-boundary" xt="SPCLICK">ipsum</a>

The output needs to appear like this:
linklText (Link: %%HYPERLINK:linkName_txt#xtValue"#hrefValue#%%) ")

Any thoughts? Your assistance would be greatly appreciated
-Michael

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