无名收藏夹

Trumbowyg

代码分享

<p style="box-sizing: inherit; margin: 1em 0px; color: rgb(34, 34, 34); font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: rgb(244, 247, 250);">This the minimal code to transform a simple div into the amazing WYSIWYG editor which is Trumbowyg.</p><pre style="box-sizing: inherit; margin-top: 1em; margin-bottom: 1em; font-family: &quot;JetBrains Mono&quot;, monospace; font-size: 15px; text-wrap-mode: wrap; overflow-wrap: break-word; line-height: 1.5; color: rgb(34, 34, 34); background-color: rgb(244, 247, 250);"><code class="javascript hljs language-javascript" style="box-sizing: inherit; font-family: &quot;JetBrains Mono&quot;, monospace; font-size: 15px; line-height: 1.5; color: rgb(36, 41, 46); background: rgb(255, 255, 255); padding: 0px 1.5em; display: block; overflow-x: auto; border-radius: 8px; box-shadow: rgba(0, 0, 0, 0.02) 0px 4px 16px;"> $(<span class="hljs-string" style="box-sizing: inherit; color: rgb(3, 47, 98);">'#trumbowyg-demo'</span>).<span class="hljs-title function_" style="box-sizing: inherit; color: rgb(111, 66, 193);">trumbowyg</span>(); </code></pre><p style="box-sizing: inherit; margin: 1em 0px; color: rgb(34, 34, 34); font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: rgb(244, 247, 250);">If you want to set options to Trumbowyg, add an object which contains your options as parameters.</p><pre style="box-sizing: inherit; margin-top: 1em; margin-bottom: 1em; font-family: &quot;JetBrains Mono&quot;, monospace; font-size: 15px; text-wrap-mode: wrap; overflow-wrap: break-word; line-height: 1.5; color: rgb(34, 34, 34); background-color: rgb(244, 247, 250);"><code class="javascript hljs language-javascript" style="box-sizing: inherit; font-family: &quot;JetBrains Mono&quot;, monospace; font-size: 15px; line-height: 1.5; color: rgb(36, 41, 46); background: rgb(255, 255, 255); padding: 0px 1.5em; display: block; overflow-x: auto; border-radius: 8px; box-shadow: rgba(0, 0, 0, 0.02) 0px 4px 16px;"> $(<span class="hljs-string" style="box-sizing: inherit; color: rgb(3, 47, 98);">'#trumbowyg-demo'</span>).<span class="hljs-title function_" style="box-sizing: inherit; color: rgb(111, 66, 193);">trumbowyg</span>({ <span class="hljs-attr" style="box-sizing: inherit; color: rgb(0, 92, 197);">btns</span>: [[<span class="hljs-string" style="box-sizing: inherit; color: rgb(3, 47, 98);">'strong'</span>, <span class="hljs-string" style="box-sizing: inherit; color: rgb(3, 47, 98);">'em'</span>,], [<span class="hljs-string" style="box-sizing: inherit; color: rgb(3, 47, 98);">'insertImage'</span>]], <span class="hljs-attr" style="box-sizing: inherit; color: rgb(0, 92, 197);">autogrow</span>: <span class="hljs-literal" style="box-sizing: inherit; color: rgb(0, 92, 197);">true</span> }); </code></pre>

预览访问

问小白

网络应用

问小白让你更有料, AI 智能聊天, 问答助手, AI 智能搜索, 免费无限量使用 DeepSeek R1 模型,支持联网搜索。

预览访问

日本镜像武汉图片

网络应用

镜像存储在武汉的图片,支持ssl,替换前面的网址即可使用。

预览访问

Futu API 文档 v9.2

金融服务

OpenAPI 量化接口,为您的程序化交易,提供丰富的行情和交易接口,满足每一位开发者的量化投资需求,助力您的宽客梦想。

预览访问

免费学习编程

学习资源

W3Schools提供的教程易于学习,包括Python, C/C++, Java等热门编程语言的代码学习。适合初学者和专业人士。

预览访问

知乎直答

网络应用

知乎直答是以知乎社区的优质内容为核心,多种数据源为辅助,为人们提供一种全新的获取可靠信息的途径。

预览访问

网站像素级克隆

网络应用

预览访问

Time Difference

网络应用

World Time Clock: online calculation of time difference between two time zones, including local time and date.

预览访问

百度AI搜索

网络应用

办公学习一站解决

预览访问

DeepSeek - 探索未至之境

网络应用

我是 DeepSeek,很高兴见到你! 我可以帮你写代码、读文件、写作各种创意内容,请把你的任务交给我吧~

预览访问
管理登录