AutoLink feature
After a space
- Type a URL:
- Staring with
http://.
- staring with
https://.
- staring without a protocol (www.cksource.com).
- e-mail address should be linked using
mailto:// (in linkHref attribute value only).
- Type space after a URL.
- Check if text typed before space get converted to link.
After a soft break/new paragraph
- Type a URL as in base scenario.
- Press Enter or Shift+Enter after a link.
- Check if text typed pressed key get converted to link.
Undo integration
- Execute auto link either with "space" or with "enter" scenarios.
- Execute undo.
- Check if only created link was removed:
- For "space" - the space after the text link should be preserved.
- For "enter" - the new block or
<softBreak> should be preserved.