posthtml-modules icon indicating copy to clipboard operation
posthtml-modules copied to clipboard

Default content when is emtpy

Open thewebartisan7 opened this issue 3 years ago • 0 comments
trafficstars

Would be possible to add a default content when it's not provided?

I think here in the code:

            const content = tree.match(match('content'), () => {
              // Other conditions when node.content is not empty

              return node.content || '';
            });

thewebartisan7 avatar Sep 23 '22 10:09 thewebartisan7