raisaldi/summernote
Composer 安装命令:
composer require raisaldi/summernote
包简介
Mirror and Composer-ready fork of summernote/summernote — a super simple WYSIWYG editor built on Bootstrap and jQuery.
README 文档
README
Summernote is a JavaScript library that helps you create WYSIWYG editors with a simple and easy-to-use interface. Summernote is licensed under MIT and maintained by the community.
Homepage: https://summernote.org
Why Summernote?
Summernote has a few special features:
- Simple and User-friendly: Providing a simple and intuitive interface that allows users
- Easy to install: Just include the JS/CSS files on your HTML and create a div tag to get started.
- Compatible with Bootstrap: Bootstrap 3, 4, and 5.
- Rich ecosystem: A wide array of plugins and connectors are available, enhancing functionality and integration options.
- Easy image handling: Images are automatically embedded in the content using base64 encoding, eliminating the need for separate image management
How to Use
Summernote is built on jQuery.
How to install
1. Include JS/CSS
Include the following code in the <head> tag of your HTML:
<!-- include libraries(jQuery, bootstrap) --> <script type="text/javascript" src="//code.jquery.com/jquery-3.6.0.min.js"></script> <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" /> <script type="text/javascript" src="//cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script> <!-- include summernote css/js--> <link href="summernote-bs5.css" rel="stylesheet"> <script src="summernote-bs5.js"></script>
2. Place a div tag
Then place a div tag somewhere in the body tag. This element will be replaced with the summernote editor.
<div id="summernote">Hello Summernote</div>
3. Initialize Summernote
Finally, initialize Summernote with the following JavaScript:
$(document).ready(function() { $('#summernote').summernote(); });
For more examples, please visit to homepage.
API
Summernote provides a set of API. For example, you can use the following code to get the HTML source code underlying the text in the editor:
var html = $('#summernote').summernote('code');
For more detail about API, please refer to document.
Warning - code injection The code view allows the user to enter script contents. Make sure to filter/sanitize the HTML on the server. Otherwise, an attacker can inject arbitrary JavaScript code into clients.
For contributing
See the CONTRIBUTING.md for details on how to contribute to Summernote.
Contributors ✨
Thanks go to these incredible people:
Sponsors
Is your company using Summernote? Ask your boss to support us. It will help us dedicate more time to maintain this project and to make it even better for all our users. Also, your company logo will show up on here and on our website: -) [Become a sponsor]
Backers
Please be our Backers.
Contacts
raisaldi/summernote 适用场景与选型建议
raisaldi/summernote 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 10 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「jquery」 「bootstrap」 「wysiwyg」 「editor」 「summernote」 「text-editor」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 raisaldi/summernote 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 raisaldi/summernote 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 raisaldi/summernote 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
This is a laravel 4 package for the server and client side of datatables at http://datatables.net/
WYSIWYG editor for Yii2 based on Bootstrap 3
A jQuery augmented PHP library for creating and validating HTML forms
Implementation of carouFredSel as extension for Contao Open Source CMS
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 25
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-05