mindmup/bootstrap-wysiwyg là dự án mã nguồn mở trên GitHub với 5.5k sao, viết chủ yếu bằng HTML. Tiny bootstrap-compatible WISWYG rich text editor
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Please do not submit issues/comments to this repo. Instead, submit it to
https://github.com/steveathon/bootstrap-wysiwyg
Although this is the original repository, we need the project to be tiny and
focused on the needs of the MindMup tool, which means that we do not want to
complicate it with all the various bits and pieces needed for other usages and
older browsers.
Meanwhile, Steve was kind enough to create a fork, backport it to older
browsers, extend and integrate all kinds of changes. Steve's fork does not need
to stay small, slim and focused, so please use his repo for all your needs if
this plugin does provide out of the box
About the editor
Tiny bootstrap-compatible WISWYG rich text editor, based on browser execCommand, built originally for MindMup. Here are the key features:
Automatically binds standard hotkeys for common operations on Mac and Windows
Drag and drop files to insert images, support image upload (also taking photos on mobile devices)
Allows a custom built toolbar, no magic markup generators, enabling the web site to use all the goodness of Bootstrap, Font Awesome and so on...
Does not force any styling - it's all up to you
Uses standard browser features, no magic non-standard code, toolbar and keyboard configurable to execute any supported browser command
Does not create a separate frame, backup text areas etc - instead keeps it simple and runs everything inline in a DIV
(Optionally) cleans up trailing whitespace and empty divs and spans
Requires a modern browser (tested in Chrome 26, Firefox 19, Safari 6)
Supports mobile devices (tested on IOS 6 Ipad/Iphone and Android 4.1.1 Chrome)
Basic Usage
See http://mindmup.github.com/bootstrap-wysiwyg/
Customising
You can assign commands to hotkeys and toolbar links. For a toolbar link, just put the execCommand command name into a data-edit attribute.
For more info on execCommand, see http://www.quirksmode.org/dom/execCommand.html and https://developer.mozilla.org/en/docs/Rich-Text_Editing_in_Mozilla
To pass arguments to a command, separate a command with a space.
<a data-edit="fontName Arial">...</a>
You can also use input type='text' with a data-edit attribute. When the value
is changed, the command from the data-edit attribute will be applied using the
input value as the command argument
<input type="text" data-edit="createLink">
If the input type is file, when a file is selected the contents will be read in using the FileReader API and the data URL will be used as the argument
<input type="file" data-edit="insertImage">
To change hotkeys, specify the map of hotkeys to commands in the hotKeys option. For example:
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/mindmup/bootstrap-wysiwyg là nguồn chính thức.
mindmup/bootstrap-wysiwyg có bao nhiêu sao?
mindmup/bootstrap-wysiwyg có 5.5k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/mindmup/bootstrap-wysiwyg. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
mindmup/bootstrap-wysiwyg có phải mã nguồn mở không?
Có — mindmup/bootstrap-wysiwyg phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/mindmup/bootstrap-wysiwyg.
mindmup/bootstrap-wysiwyg có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho mindmup/bootstrap-wysiwyg. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
mindmup/bootstrap-wysiwyg có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho mindmup/bootstrap-wysiwyg. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
mindmup/bootstrap-wysiwyg còn đang phát triển không?
Commit gần nhất trên mindmup/bootstrap-wysiwyg là 8.0 năm trước (theo timestamp GitHub). Repo có 815 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc bootstrap-wysiwyg có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về bootstrap-wysiwyg.