grid column
This commit is contained in:
parent
030e27bfac
commit
fa738ed605
22 changed files with 183 additions and 630 deletions
|
|
@ -9,12 +9,12 @@ export default class snapToBaseline extends Handler {
|
|||
beforeParsed(content){
|
||||
this.baseline = parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--baseline').trim());
|
||||
|
||||
content.querySelectorAll('blockquote').forEach((bq) => {
|
||||
const prev = bq.previousElementSibling;
|
||||
if (!prev || prev.nodeName !== 'P') {
|
||||
// bq.style.color = 'red';
|
||||
}
|
||||
});
|
||||
// content.querySelectorAll('blockquote').forEach((bq) => {
|
||||
// const prev = bq.previousElementSibling;
|
||||
// if (!prev || prev.nodeName !== 'P') {
|
||||
// // bq.style.color = 'red';
|
||||
// }
|
||||
// });
|
||||
}
|
||||
|
||||
renderNode(node, sourceNode){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue