grid column

This commit is contained in:
Julie Blanc 2026-04-16 09:42:55 +02:00
parent 030e27bfac
commit fa738ed605
22 changed files with 183 additions and 630 deletions

View file

@ -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){