mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
working?
This commit is contained in:
parent
1cad0a6707
commit
b876e2dfe0
1 changed files with 8 additions and 1 deletions
|
@ -393,7 +393,14 @@ const makeContentCollector = function (
|
||||||
const tname = (dom.nodeTagName(node) || '').toLowerCase();
|
const tname = (dom.nodeTagName(node) || '').toLowerCase();
|
||||||
const styl = dom.nodeAttr(node, 'style');
|
const styl = dom.nodeAttr(node, 'style');
|
||||||
const cls = dom.nodeAttr(node, 'class');
|
const cls = dom.nodeAttr(node, 'class');
|
||||||
console.warn(tname);
|
|
||||||
|
// clear to avoid pollution of trailing blank lines after lines with attributes
|
||||||
|
// during import
|
||||||
|
if (state.lineAttributes) {
|
||||||
|
delete state.lineAttributes;
|
||||||
|
state.lineAttributes = {};
|
||||||
|
}
|
||||||
|
|
||||||
if (tname === 'img') {
|
if (tname === 'img') {
|
||||||
// no hook sare called in this branch, just a demo..
|
// no hook sare called in this branch, just a demo..
|
||||||
hooks.callAll('collectContentImage', {
|
hooks.callAll('collectContentImage', {
|
||||||
|
|
Loading…
Reference in a new issue