only editable content

This commit is contained in:
Luis Fernando Molina committed 2020-12-16 11:02:54 +01:00
1 parent 362e5fb56c
commit 7baf404999
1 file changed
+8
@@ -435,6 +435,14 @@ function newSuperalgosDocSpace() {
if (paragraphNode.id === undefined || paragraphNode.id.indexOf('paragraph') < 0) {
return false
}
/*
We woont continue unless the paragraph the mouse is pointnig at was
tagged as an editable paragraph.
*/
if (paragraphNode.id.indexOf('editable-paragraph') < 0) {
return false
}
/*
Depending on the Style of Paragraph we will need to remove
some info from the innerText.