On Monday, January 27, 2020 at 5:22:41 AM UTC-6, Edward K. Ream wrote:

​I see the same message as you reported. This should be enough to fix the 
> problem.
>

I now remember the general problem: it's difficult/impossible to use 
section references in some situations, but without section references it's 
not possible to put code in the proper place.

In this case, the node
"toArray( element.querySelectorAll( 'video, audio' ) ).forEach function"
needs a section reference to properly place the child node,
"if( promise && typeof promise.catch === 'function' && el.controls === 
false )"
and *its* child,
"el.addEventListener( 'play', function".

In other words, the actual import machinery is probably working correctly. 
The problem arising in the strategy used to allocate lines to nodes. This 
is a tricky task. A rethink may be needed. One possibility would be to 
disallow child nodes in some situations...

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f0c0c78c-5de1-4f6b-a435-d1abe63fa6b7%40googlegroups.com.

Reply via email to