mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
placeholder commit
This commit is contained in:
parent
638bd9942e
commit
66109002ef
3 changed files with 12 additions and 4 deletions
|
@ -395,6 +395,7 @@ const makeContentCollector = function (
|
|||
const cls = dom.nodeAttr(node, 'class');
|
||||
|
||||
if (tname === 'img') {
|
||||
/*
|
||||
hooks.callAll('collectContentImage', {
|
||||
cc,
|
||||
state,
|
||||
|
@ -403,8 +404,11 @@ const makeContentCollector = function (
|
|||
cls,
|
||||
node,
|
||||
});
|
||||
// cc.doAttrib(state, 'image:foo.png');
|
||||
state.lineAttributes.img = 'foo.png';
|
||||
*/
|
||||
state.lineAttributes.img = node.src;
|
||||
// cc.doAttrib(state, 'img');
|
||||
// cc.startNewLine(state);
|
||||
|
||||
} else if (tname === 'br') {
|
||||
this.breakLine = true;
|
||||
const tvalue = dom.nodeAttr(node, 'value');
|
||||
|
@ -444,8 +448,8 @@ const makeContentCollector = function (
|
|||
// for now it shows how to fix the problem
|
||||
return;
|
||||
}
|
||||
|
||||
if (collectStyles) {
|
||||
if(tname === "img") debugger;
|
||||
hooks.callAll('collectContentPre', {
|
||||
cc,
|
||||
state,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue