mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
basic test and hacked in stuff
This commit is contained in:
parent
62906d72a2
commit
e39e959347
2 changed files with 14 additions and 7 deletions
|
@ -76,6 +76,7 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
|||
p: 1,
|
||||
pre: 1,
|
||||
li: 1,
|
||||
img: 1,
|
||||
};
|
||||
|
||||
_.each(hooks.callAll('ccRegisterBlockElements'), (element) => {
|
||||
|
@ -421,12 +422,10 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
|||
cls,
|
||||
node,
|
||||
});
|
||||
} else {
|
||||
// THIS SEEMS VERY HACKY! -- Please submit a better fix!
|
||||
delete state.lineAttributes.img;
|
||||
}
|
||||
// cc.doAttrib(state, 'image:foo.png');
|
||||
state.lineAttributes.img = 'foo.png';
|
||||
|
||||
if (tname == 'br') {
|
||||
} else if (tname == 'br') {
|
||||
this.breakLine = true;
|
||||
const tvalue = dom.nodeAttr(node, 'value');
|
||||
const induceLineBreak = hooks.callAll('collectContentLineBreak', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue