mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 16:05:05 -04:00
Drag & Drop fix. Thx @johnyma22 for reporting
This commit is contained in:
parent
ddac4d7d38
commit
94c0ff55e3
2 changed files with 13 additions and 9 deletions
|
@ -85,10 +85,12 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
|
|||
"ol": 1,
|
||||
"ul": 1,
|
||||
//titling styles
|
||||
"h1": 1,
|
||||
"h2": 1,
|
||||
"h3": 1,
|
||||
"h4": 1,
|
||||
//fixme: they actually *are* blocks but handling them as blocks breaks Drag&Drop
|
||||
// => what is the real meaning of this structure ???
|
||||
//"h1": 1,
|
||||
//"h2": 1,
|
||||
//"h3": 1,
|
||||
//"h4": 1,
|
||||
};
|
||||
|
||||
function isBlockElement(n)
|
||||
|
@ -185,10 +187,10 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
|
|||
"ol": 1,
|
||||
"ul": 1,
|
||||
//titling styles
|
||||
"h1": 1,
|
||||
"h2": 1,
|
||||
"h3": 1,
|
||||
"h4": 1,
|
||||
//"h1": 1,
|
||||
//"h2": 1,
|
||||
//"h3": 1,
|
||||
//"h4": 1,
|
||||
};
|
||||
|
||||
function _isEmpty(node, state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue