nnhubbard / ZSSRichTextEditor

A beautiful rich text WYSIWYG editor for iOS with a syntax highlighted source view
MIT License
3.78k stars 584 forks source link

Links created with Insert Link tool are not active! #289

Open 101airborne opened 2 years ago

101airborne commented 2 years ago

The "href=" links created with the Insert Link tool are not clickable. Even the "Zed Said Studio" link in the ZSSRichTextEditor Demo App is not active. Tapping on a link elicits no response.

The html "href" created by the Insert Link tool seems to be properly formed and does display as a link.

Here is the html from the Demo App's Standard editor after I have added the "Apple Headquarters" link with Insert Link. Note also the "Zed Said Studio" link.

I have experimented with multiple iOS versions from 11.4 to 14.4 as well as Catalyst macOS 10.15.7(Xcode 12.4) and macOS 12.2.1 (Xcode 13.2.1). In no case are links clickable or active.

<div class="‘test’"></div>
<!--— This is an HTML comment —-->
<p>This is a test of the <strong>ZSSRichTextEditor</strong> by <a title="&quot;Zed" said&quot;="" href="&quot;http://www.zedsaid.com&quot;”>Zed Said Studio</a>
</p>
<p><a href=“https://www.apple.com”>Apple Headquarters</a>
    <br />
</p>