renamed: contribute/plugins/selection-mode/vite-plugin-selection-mode.js -> _exports/contribute/plugins/selection-mode/vite-plugin-selection-mode.js

This commit is contained in:
Anderson 2026-02-04 04:18:01 +00:00 committed by GitHub
parent 4448bccc9b
commit e5debfe373
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
652 changed files with 19636 additions and 65901 deletions

BIN
Contribute.zip Normal file

Binary file not shown.

BIN
Events (2).zip Normal file

Binary file not shown.

View file

@ -50,7 +50,7 @@ function checkTagNameEditable(openingElementNode, editableTagsList) {
}
function validateImageSrc(openingNode) {
if (!openingNode || !openingNode.name || openingNode.name.name !== 'img') {
if (!openingNode || !openingNode.name || ( openingNode.name.name !== 'img' && openingNode.name.property?.name !== 'img')) {
return { isValid: true, reason: null }; // Not an image, skip validation
}

View file

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 492 B

View file

@ -0,0 +1,14 @@
import { useLocation } from 'react-router-dom';
import { useLayoutEffect } from 'react';
const ScrollToTop = () => {
const { pathname } = useLocation();
useLayoutEffect(() => {
window.scrollTo({ top: 0, left: 0, behavior: 'instant' });
}, [pathname]);
return null;
}
export default ScrollToTop;

Some files were not shown because too many files have changed in this diff Show more