GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.21k stars 416 forks source link

[Bug]: Block editor doesn't update site map with # of images #1217

Open SnowB0und14 opened 1 year ago

SnowB0und14 commented 1 year ago

Operating system

macOS Ventura 13.2.1

Publii version

0.42.1

Post editor

Block editor

Bug description

The block editor doesn't count images for the sitemap.xml file. I created 2 identical posts one with WYSIWYG and one with the block editor. The one created with the WYSIWYG editor had the images counted on the sitemap.xml file.

Steps to reproduce

I created 2 identical posts to confirm the block editor wasn't counting photos on the sitemap.

Relevant log output

No response

dziudek commented 1 year ago

@SnowB0und14 - thank you for reporting this. As I see this bug affects both Block and Markdown editors. It will be fixed in the next Publii release