ckeditor

ActiveMQ在Linux下安装

偶尔善良 提交于 2020-05-07 00:08:12
1.安装 1.下载安装包,下载地址 http://activemq.apache.org/components/classic/download/ 。 2.解压安装包,使用unzip命令,war包和zip包都是用该命令。 unzip apache-activemq-5.13.3-bin.zip -d /usr/local/apps/activemq 3.进入activemq的bin目录下,修改activemq文件的权限,默认没有执行权限,赋予所有用户执行的权限 chmod a+x activemq 4.启动activemq ./activemq start 5.监控,activemq默认启动时,使用的是内置的jetty服务器,浏览器通过192.168.2.10:8161访问,8161为默认端口,登录的默认用户名和默认密码都是admin Home:查看 ActiveMQ 的常见信息 Queues:查看 ActiveMQ 的队列信息 Topics:查看 ActiveMQ 的主题信息 Subscribers:查看主题的订阅者信息 Connections:查看 ActiveMQ 客户端的连接信息 Network:查看 ActiveMQ 的网络信息 Scheduled:查看 ActiveMQ 的定时任务 Send:用于通过表单方式向队列或者主题发送具体的消息 来源: oschina 链接:

Customizing CKEditor for Strapi gives “ckeditor-duplicated-modules” error

拈花ヽ惹草 提交于 2020-04-17 22:41:18
问题 I tried to modify this repo to customize CKEditor I want to use in my Strapi project. I added a lot more plugins, this is what my ckeditor.js file looks like: import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor'; import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment.js'; import Autoformat from '@ckeditor/ckeditor5-autoformat/src/autoformat.js'; import BlockQuote from '@ckeditor/ckeditor5-block-quote/src/blockquote.js'; import Bold from '@ckeditor

Customizing CKEditor for Strapi gives “ckeditor-duplicated-modules” error

前提是你 提交于 2020-04-17 22:39:49
问题 I tried to modify this repo to customize CKEditor I want to use in my Strapi project. I added a lot more plugins, this is what my ckeditor.js file looks like: import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor'; import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment.js'; import Autoformat from '@ckeditor/ckeditor5-autoformat/src/autoformat.js'; import BlockQuote from '@ckeditor/ckeditor5-block-quote/src/blockquote.js'; import Bold from '@ckeditor

Customizing CKEditor for Strapi gives “ckeditor-duplicated-modules” error

故事扮演 提交于 2020-04-17 22:39:27
问题 I tried to modify this repo to customize CKEditor I want to use in my Strapi project. I added a lot more plugins, this is what my ckeditor.js file looks like: import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor'; import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment.js'; import Autoformat from '@ckeditor/ckeditor5-autoformat/src/autoformat.js'; import BlockQuote from '@ckeditor/ckeditor5-block-quote/src/blockquote.js'; import Bold from '@ckeditor

iTerm的安装以及配置Oh My Zsh

心不动则不痛 提交于 2020-04-15 10:50:21
【推荐阅读】微服务还能火多久?>>> iTerm说简单点就是Windows的命令提示符,可能说这个大家感觉没用过,其实也就是人们经常使用CMD,相当于苹果的终端,但是比自带的终端强大多了。 本文就是简单的说一下安装和简单的配置过程。 首先就是下载iTerm可以从官网上下载也可以从我的云盘上下载,云盘上的有配置文件,建议新手直接用,官网的下载下来界面不是很好看,高手可以自己调,怎么调今天就先不说了,网上有很多的资料。 官网的地址: https://www.iterm2.com/ 官网的安装方法: 下载下来解压iTerm的一个应用程序,直接拷贝到应用程序中 如图: 解压过后的程序 拷贝到应用程序即可 如图: 打开即可,如图: 这就是原始的界面,也许有的人会说为啥跟我看到的不一样啊,我看人家的都不是这样的,那是因为iTerm是可以自己配制颜色的。 配置iTerm的字体的颜色 第一种:自定义用自己的 打开iTerm->左上角iTerm->Preferences->Pofiles->Default->右边上面第二个Colors->你就会看到各种颜色了如果你想更改某个颜色的话,只需要选中酒会弹出其他颜色的选择界面,你只要在上面更改即可,可以使用RGB值,也可以使用采色针来采当前能看到的颜色,已经很方便了。 第二种:用别人的 而且右下角还有一个下拉框,可以选择默认的几种搭配

Is there something better than document.execCommand?

自古美人都是妖i 提交于 2020-04-08 09:10:42
问题 When implementing a web-based rich-text editor, I read that document.execCommand is useful for performing operations on an HTML document (like making a selection bold). However, I need something a bit better. Specifically, I need to know exactly what text is added or removed from the innerHTML, and in what location (as an offset into the entire document's HTML representation). I considered using the built in document.execCommand along side DOM4's mutation observer, but execCommand doesn't

Is there something better than document.execCommand?

爷,独闯天下 提交于 2020-04-08 09:09:03
问题 When implementing a web-based rich-text editor, I read that document.execCommand is useful for performing operations on an HTML document (like making a selection bold). However, I need something a bit better. Specifically, I need to know exactly what text is added or removed from the innerHTML, and in what location (as an offset into the entire document's HTML representation). I considered using the built in document.execCommand along side DOM4's mutation observer, but execCommand doesn't

How change the CKEditor text using jQuery?

Deadly 提交于 2020-04-07 03:22:12
问题 I have a textarea with CKEditor (bbCode Plugin). <textarea id="editor1" name="conteudo" class="form-control" rows="3" required></textarea> This is my CKEditor instance: $( document ).ready( function() { $( 'textarea#editor1' ).ckeditor(); } ); I'm making a JSON request that takes a value and I want this value to be modified in this textarea , I tried with jQuery but not worked ! Below is my attempt: video_id = "lLi1Lx2xTKI"; $.getJSON('http://gdata.youtube.com/feeds/api/videos/'+video_id+'?v

中止信号:如何取消 JavaScript 中的异步任务

扶醉桌前 提交于 2020-04-06 17:59:23
作者:Tomasz Jakut 翻译:疯狂的技术宅 原文: ckeditor.com/blog/Aborti… 未经允许严禁转载 有时候执行异步任务可能是很困难的,尤其是在特定的编程语言不允许取消被错误启动或不再需要的操作时。幸运的是 JavaScript 提供了非常方便的功能来中止异步活动。在本文中,你可以学到如何创建可中止的函数。 中止信号(Abort signal) 在将 Promise 引入 ES2015 并出现了一些支持新异步解决方案的 Web API 之后不久, 需要取消异步任务的需求就出现了 。最初的尝试集中在 创建通用解决方案 上,并期待以后可以成为 ECMAScript 标准的一部分。但是,讨论很快陷入僵局,无法解决问题。因此,WHATWG 准备了自己的解决方案,并 以 AbortController 的形式将其直接引入 DOM 。这种解决方案的明显缺点是 Node.js 中不提供 AbortController ,从而在该环境没有任何优雅或官方的方式来取消异步任务。 正如你在 DOM 规范中所看到的, AbortController 是用一种非常通用的方式描述的。所以你可以在任何类型的异步 API 中使用 —— 甚至是那些目前还不存在的 API。目前只有 Fetch API 正式支持,但是你也可以在自己的代码中使用它! 在开始之前,让我们花点时间分析一下