You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I change the source Code function add() following, then div stroll is work:
// Only allow ul/ol
if( !element.nodeName || /^(ul|ol)$/i.test( element.nodeName ) === false ) {
return false;
}
// Delete duplicates (but continue and re-bind this list to get the
// latest properties and list items)
else if( contains( element ) ) {
remove( element );
}
to:
// Only allow ul/ol
if( !element.nodeName || /^(ul|ol**|div**)$/i.test( element.nodeName ) === false ) {
return false;
}
// Delete duplicates (but continue and re-bind this list to get the
// latest properties and list items)
else if( contains( element ) ) {
remove( element );
}
It doesn't seem like a bug. The "// Only allow ul/ol" comment above the line you altered makes sure that only ul and ol lists are only allowed intentionally.
@funwewhere , thank you for posting this issue, i did exactly the same as you did but the strolling is still not working. any help would be appreciated .
here is my issue
I change the demo and css for div, but don't work
The text was updated successfully, but these errors were encountered: