【文件属性】:
文件名称:redactor-mentions:提到编辑器编辑器的插件 http
文件大小:71KB
文件格式:ZIP
更新时间:2021-06-15 09:03:15
CoffeeScript
入门
将mentions.css和mentions.js .js 复制到您的资产目录中。
在 redactor 内容之后将它们添加到您的标记中:
<link rel="stylesheet" href="js/redactor/redactor.css" />
<link rel="stylesheet" href="js/redactor/mentions.css" />
[removed][removed]
[removed][removed]
将提及插件添加到您的初始化中:
$('.post').redactor({
plugins: ['mentions'],
usersUrl: "users.json", // user data for me
【文件预览】:
redactor-mentions-master
----mentions.css(538B)
----README.rst(1001B)
----mentions.js(11KB)
----mentions.coffee(12KB)
----docs()
--------state-machine.png(66KB)
----.gitignore(96B)