Loading...
Loading...
Un editor HTML WYSIWYG modulare, senza dipendenze a runtime.
Tutto incluso. Attiva solo ciò che ti serve.
Installa tramite NPM o usa la CDN.
SunEditor si integra con i principali framework.
<!-- 1. Include CSS -->
<link href="https://cdn.jsdelivr.net/npm/suneditor@3.4.3/dist/suneditor.min.css" rel="stylesheet">
<!-- 2. Include JS -->
<script src="https://cdn.jsdelivr.net/npm/suneditor@3.4.3/dist/suneditor.min.js"></script>
<!-- 3. Create Textarea -->
<textarea id="my-editor"></textarea>
<!-- 4. Create Editor -->
<script>
const editor = SUNEDITOR.create("#my-editor", {
plugins: SUNEDITOR.plugins,
value: "<p>Hello SunEditor</p>",
buttonList: [
["undo", "redo"],
"|",
["bold", "italic", "underline"],
"|",
["list", "link", "image"]
]
});
</script>Risposte brevi alle domande che gli sviluppatori si pongono prima di scegliere un editor.
Gratuito e open source. Consulta la documentazione o contribuisci su GitHub.
2K
Stelle di GitHub
356
Fork di GitHub
79.4K
Download settimanali da NPM
3M
Download annuali di NPM
168.5K
Visualizzazioni giornaliere CDN