ckeditor

angularjs ckeditor directive sometimes fails to load data from a service

徘徊边缘 提交于 2019-12-18 11:56:22
问题 I used Vojta's angularJS directive but sometimes ckeditor would fail to display the data from a service. This almost never happened on a refresh, but often happened when navigating back to the page. I was able to verify that the $render function was always calling ck.setData with the correct data, but sometimes it would not display. 回答1: It appears that the $render method was sometimes called before ckeditor was ready. I was able to resolve this by adding a listener to the instanceReady event

ckfinder php 2.6.2 settings view, display, sorting doesn't working

自作多情 提交于 2019-12-18 09:35:07
问题 the example Functions are not working. someone with the same problem? any suggestion? thanks 回答1: There was an unfortunate bug in CKFinder, which was left unattended. We do our best to provide reliable software, but even such weird bugs in software sometimes happen. Once we found out that the bug exists in the setCookie function we released CKFinder 2.6.2.1 for anyone willing to take this occasion to update CKFinder 2.x to the latest stable version which is free of this bug. Also, considering

Update editor content immediately before save in CKEditor plug-in

泪湿孤枕 提交于 2019-12-18 08:00:50
问题 I am developing a plug-in for CKEditor that needs to make some changes to the editor's content immediately before saving. In FCKeditor, I achieved this using the OnAfterLinkedFieldUpdate event but I haven't yet been able to find an equivalent way of doing this in CKEditor. I had hoped there would be a suitable event to hook into but there doesn't appear to be. Does anyone know of a way of doing this? 回答1: You could use the getData event, but be careful because it's fired also for internal

Angular2 - CKEditor use

匆匆过客 提交于 2019-12-18 07:12:31
问题 How could I use ckeditor with Angular2 component? Doing something like: import {Component} from 'angular2/core' @Component({ selector: 'e', template: ` <textarea name="editor1" id="editor1" rows="10" cols="80"> This is my textarea to be replaced with CKEditor. </textarea> <script> CKEDITOR.replace( 'editor1' ); </script> ` }) export class E { } and printing it in index.html like: <html> <head> <title>Hello</title> <script src="../ckeditor/ckeditor.js"></script> <script src="../systemjs/dist

Angular2 - CKEditor use

可紊 提交于 2019-12-18 07:12:05
问题 How could I use ckeditor with Angular2 component? Doing something like: import {Component} from 'angular2/core' @Component({ selector: 'e', template: ` <textarea name="editor1" id="editor1" rows="10" cols="80"> This is my textarea to be replaced with CKEditor. </textarea> <script> CKEDITOR.replace( 'editor1' ); </script> ` }) export class E { } and printing it in index.html like: <html> <head> <title>Hello</title> <script src="../ckeditor/ckeditor.js"></script> <script src="../systemjs/dist

How to remove the “title” attribute that the CKEditor 4 add automatically on inline editing?

独自空忆成欢 提交于 2019-12-18 06:12:12
问题 When using CKEditor 4 Inline Editing on a object the CKEditor add a "Title" attribute that include a text and the object id. e.g. In the CKEditor inline example we can see the next code: <h2 id="inline-sampleTitle" title="Rich Text Editor, inline-sampleTitle"....>CKEditor<br>Goes Inline!</h2> I like to remove the "title" attribute because i do not like the user to see it (my id is more complicated :) ). Note: I was trying to remove it manually after the CKEditor create it using jQuery

Public CDN for CKEditor

蓝咒 提交于 2019-12-17 23:26:52
问题 Simple one: Is there any public CDN to load CKEditor like when you load jQuery from Google's CDN? I haven't been able to find any big CDN. I guess I could always hotlink to ckeditor.com's JS file but that's not exactly what optimization means. 回答1: http://cdn.ckeditor.com It is the official CDN for CKEditor , hosted by Amazon CloudFront and with SSL support. More information about using CDN and/or available types of releases can be found on CKEditor CDN Website. 回答2: You can submit it to http

Can I use CKEditor without a toolbar?

假如想象 提交于 2019-12-17 23:26:49
问题 (Possible duplicate: CKEditor - No toolbars) I'd like to create a CKEditor instance without a toolbar. I tried defining an empty toolbar to use in the instance's config oConfigName.toolbar = 'Custom'; oConfigName.toolbar_Custom = []; but I get a small empty toolbar by my instance, instead of no toolbar. I am using inline editing with CKEditor4. 回答1: Wow :) This is something that we haven't thought of while implementing toolbar. But I've just checked that you can remove toolbar plugin, because

How can CKEditor be used with React.js in a way that allows React to recognize it?

旧街凉风 提交于 2019-12-17 23:22:29
问题 I've tried using componentWillMount and componentDidMount to initialize CKEditor from within the context of React, but it doesn't seem to work no matter what combination I try. Has anyone found a solution to this besides switching editors? 回答1: I published a package on Npm for using CKEditor with React. It takes just 1 line of code to integrate in your project. Github link - https://github.com/codeslayer1/react-ckeditor. How to Use? Install the package using npm install react-ckeditor

Integrated Markdown WYSIWYG text editor

对着背影说爱祢 提交于 2019-12-17 21:25:07
问题 In looking for a straightforward WYSIWYG editor for Markdown code, I am not finding a comparible UI to that of CkEditor, TinyMCE, ect. Specifically, the Markdown "WYSIWYG" editors that are often recommended (such as posts like this ) are not pure WYSIWYG editors in the sense that users either still write raw Markdown ( MarkItUp ) or go to the other extreme of having in-line editing without standard controls ( Hallo ). I need something in-between. I'm looking for a Markdown editor that looks