ckeditor

CKEditor issue in gulp-concat

烂漫一生 提交于 2019-12-24 21:38:04
问题 In my angularjs application, I'm using angular-ckeditor directive for CKEditor to get user inputs(Description and comments). This is my html code to take description; <div ckeditor="options" ng-model="txtDesc" ng-change="descChange()"></div> and for comments; <div ckeditor="options" ng-model="txtComment"></div> And according to this github article; Note : obviously this plugin expects the presence of AngularJS and CKEditor. This is how I'm referring my JS files; <!-- CK editor --> <script src

CKEditor Turn Off Advanced Content Filter

☆樱花仙子☆ 提交于 2019-12-24 21:32:41
问题 I'm having difficulty deactivating the Advanced Content Filter (config.allowedContent = true; dosen't seem to work). I've tried everything that I've read on the forums, including clearing the cache, and making it an external file. CKEditor 4.2.2 - allowedContent = true is not working I've even added config.protectedSource.push lines, and they work to a point. The CKEditor still adds div tags and partially deletes other tags. I'm creating a set of well designed templates for clients to use, so

How to run CKeditor [closed]

心已入冬 提交于 2019-12-24 19:07:28
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I'm fairly new to javascript and just cloned the (static) CKeditor repo to fiddle with. I can't figure out how to run it! There is no obvious 'main' file and everything I run with node throws reference errors.

CKEditor 4 How to Add Table Without User Interaction (i.e. without dialog)

孤人 提交于 2019-12-24 18:05:29
问题 I have already all required properties of table (i.e. rows, cols counts, style, class, header style, etc.). I need to add table with this properties when user clicks on my custom button, without going through any dialog. I thought about showing dialog and substituting required fields with my data and triggering OK click. But this.. kinda ugly solution. Please tell me, is there any elegant solution for this task ? 回答1: Solved problem by actually hack on default values to make them getter

Can't insert img tag after adding custom plugin for image

梦想的初衷 提交于 2019-12-24 16:28:15
问题 I have written my own custom plugin for inserting images in CKEDITOR. I disable the image button in toolbar . I use the editor.insertHtml() function to insert the image from my custom plugin . When I remove the standard image button from the toolset it disables insertion of image tag in the CKEDITOR box . All other html tags are accepted but for the <img/> tag . This is my config(without the 'Image' in config.toolbar) : CKEDITOR.editorConfig = function( config ) { CKEDITOR.plugins.addExternal

CKEditor 4 Images and dataProcessor API

亡梦爱人 提交于 2019-12-24 14:58:44
问题 I have set-up my CKEditor instance so that when viewing the WYSIWYG (live) mode [image:abc123] is replaced with the actual URL to the image. So for example in the HTML source view, you see this: <img src="[image:abc123]" /> But when you view the WYSIWYG (live) mode, it shows this: <img src="/file/image/abc123" /> Here is the plugin code I added as a plugin that does the trick: CKEDITOR.plugins.add( 'myplugin', { requires : ['richcombo'], init : function( editor ) { var config = editor.config,

CKEditor: Different color palettes for Text Color and Background Color possible?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 13:57:12
问题 I am using CKEditor (v3.6.4) and try to find out how to change the palettes for Text Color and Background Color separately. I found config.colorButton_colors in the docs which allows me to define the color palette. However, this palette is assigned to both, text and background. How can I have two different palettes? 回答1: You can't do that because the color palette is defined for the text color and background. CKEDITOR.config.colorButton_colors = '000,800000,8B4513,2F4F4F,008080,000080,4B0082

TYPO3 ckeditor: allow img tag without enabling image plugin

霸气de小男生 提交于 2019-12-24 13:32:33
问题 On a plain TYPO3 8 installation, I want ckeditor to allow the img tag in the source, without enabling the image plugin. The default configuration of ckeditor in TYPO3 removes the image plugin, which causes img tags to be removed as well. According to the ckeditor documentation, this can be achieved with the property config.extraAllowedContent = 'img' but it does not work in my custom yaml configuration. img tags are always striped when I switch from source to wysiwyg mode. If I enable the

Formatting issues in asp.net integrated ckeditor

☆樱花仙子☆ 提交于 2019-12-24 13:29:23
问题 I'm using asp.net integrated ckeditor and having issues with content formatting like Bold, Italic & Underline. We had to press multiple times. Any work around for this ? Using 3.6.6.2 version 回答1: The situation with using CKEditor in the ASP.NET environment looks as follows: The official CKEditor for ASP.NET control has not been updated to CKEditor v4 yet. It is possible to manually update the editor version used with the .NET control to the latest v4 version, however, this will not give you

Roxy Fileman with CKEditor doesn't work after upload to server

痴心易碎 提交于 2019-12-24 12:43:56
问题 I have to use any file manager on my website. I chose Roxy Fileman, because it is compatible with CKEditor, which is my main text editor. The problem is, everything works when i test it on my localhost, but after publishing it on server I get error message: "The page cannot be displayed because an internal server error has occurred." There's no more info... Have you guys any idea what I should do? 回答1: 1) make sure Fileman folder is added to the directory 2) go to Fileman folder and in web