Bản khảo sát nghiên cứu: Cho chúng tôi biết trải nghiệm của bạn khi sử dụng Blockly
Bắt đầu khảo sát
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
chặn > bình luận > WorkspaceComment > isEditable
Trả về việc nhận xét có thể chỉnh sửa được hay không, tôn trọng việc không gian làm việc có phải là chỉ đọc hay không.
Chữ ký:
isEditable(): boolean;
Trường hợp trả lại hàng:
boolean
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["This method checks if a WorkspaceComment is editable, taking into account the read-only state of the workspace."],["It returns `true` if the comment can be edited, and `false` otherwise."],["`isEditable()` is a method of the `WorkspaceComment` class within the `comments` namespace of Blockly."]]],["The `isEditable()` method, part of the `WorkspaceComment` class within the `comments` namespace, determines a comment's editability status. It checks if the comment can be modified, taking into account the read-only state of the workspace it belongs to. The method returns a boolean value, `true` if editable, `false` otherwise. This method is used to know if the comment is modifiable by the user.\n"]]