I have a very simple WYSIWYG editor using contenteditable. It works fine, but I want to test if the selected text is being used as a link. When I use document.queryCommandState('CreateLink'), it always returns false, even if the text is within an anchor. Example below.I have a very simple WYSIWYG editor using conte