indent p + p
This commit is contained in:
parent
3b91983491
commit
299ffe6c4b
6 changed files with 53 additions and 3 deletions
20
js/snapToBaseline.js
Normal file
20
js/snapToBaseline.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import { Handler } from '/csspageweaver/lib/paged.esm.js';
|
||||
|
||||
export default class snapToBaseline extends Handler {
|
||||
constructor(chunker, polisher, caller) {
|
||||
super(chunker, polisher, caller);
|
||||
}
|
||||
|
||||
renderNode(node, sourceNode){
|
||||
if (node.nodeName === 'P') {
|
||||
return node;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue