Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-23944

Allow a node that contains a single text node consisting of white space characters to be focused / selected

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • None
    • None
    • None

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      tinymce.dom.Selection.select() currently contains the following:

      if (node.nodeType == 3 && tinymce.trim(node.nodeValue).length != 0) {
      	if (start)
      		rng.setStart(node, 0);
      	else
      		rng.setEnd(node, node.nodeValue.length);
      
      	return;
      }
      

      Specifically:

      tinymce.trim(node.nodeValue).length != 0
      

      This was introduced in the SHA 99f4007ece049d35a2be005c094b4c795afca177 on tinymce @ github.

      Its not clear why this is necessary.

              shaffenden Steve Haffenden (Inactive)
              dave@atlassian.com dave (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: