Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)8.1k · #12602

webiny-admin-website-builder-catalog

Skill này làm gì

Skill này là danh sách tra cứu các khối xây dựng admin dùng trong Webiny Website Builder. Skill dành cho lập trình viên cần đúng câu lệnh import cho một tính năng trình chỉnh sửa trang.

Khi nào nên dùng

  • ✓Khi bạn cần đường dẫn import chính xác cho một helper của trình chỉnh sửa Website Builder.
  • ✓Khi bạn muốn tìm nơi định nghĩa một hàm của trình chỉnh sửa trang.
  • ✓Khi bạn đang mở rộng admin Website Builder và cần các khối xây dựng có sẵn.

Liên kết skill

https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/admin/website-builder/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/admin/website-builder/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi nên import helper nào để tạo một phần tử trong trình chỉnh sửa trang Website Builder?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill liệt kê từng khối xây dựng kèm dòng import và file nguồn. Skill yêu cầu AI đọc file nguồn để lấy đúng kiểu dữ liệu trước khi dùng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

admin/website-builder

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";

Abstractions


Name: $addElementReferenceToParent Import: import { $addElementReferenceToParent } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $createElement Import: import { $createElement } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $deleteElement Import: import { $deleteElement } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $deselectElement Import: import { $deselectElement } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $getActiveElementId Import: import { $getActiveElementId } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $getComponentManifestByElementId Import: import { $getComponentManifestByElementId } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $getElementById Import: import { $getElementById } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $getElementInputValues Import: import { $getElementInputValues } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $getElementsOfType Import: import { $getElementsOfType } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $getFirstElementOfType Import: import { $getFirstElementOfType } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $highlightElement Import: import { $highlightElement } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $moveElement Import: import { $moveElement } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $previewElementInputs Import: import { $previewElementInputs } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts Description: Programmatically update an element's inputs in the preview iframe only (via JSON patch). Does NOT write to the editor document state.


Name: $removeElementReferenceFromParent Import: import { $removeElementReferenceFromParent } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $selectElement Import: import { $selectElement } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts


Name: $updateElementInputs Import: import { $updateElementInputs } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/utils/index.ts Description: Programmatically update an element's inputs using a callback-based API. The updater receives a deep object representation of the element's inputs which can be mutated in place.


Name: Commands Import: import { Commands } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/BaseEditor/index.tsx


Name: createCommand Import: import { createCommand } from "webiny/admin/website-builder/page/editor" Source: @webiny/app-website-builder/editorSdk/createCommand.ts


Name: createElement Import: import { createElement } from "webiny/admin/website-builder/page/editor" Source: @webiny/website-builder-sdk/index.ts


Name: Divider Import: import { Divider } from "webiny/admin/website-builder/lexical" Source: @webiny/lexical-editor/exports/admin/ui/lexical.ts


Name: DropDown Import: `import

Câu hỏi thường gặp

Có bao nhiêu khối xây dựng được liệt kê?

Mô tả của skill nói rằng nó bao phủ 65 abstraction cho admin Website Builder.

Skill có chỉ cách dùng chúng không?

Có tên, đường dẫn import và file nguồn, và chỉ đến file nguồn để xem kiểu dữ liệu chính xác.

Nó bao phủ khu vực nào?

Admin Website Builder, gồm trình chỉnh sửa trang.

Chi tiết

Mô tả gốc của tác giả

admin/website-builder — 65 abstractions.

repo: webiny/webiny-js

Độ phổ biến

Sao GitHub
8.1k
Vị trí xếp hạng
#12602
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự