Is there a possibility to turn off the automatic enclosing of all written content within <p></p> in CKEditor 3.x?
I tried
CKEDITOR.config.enterMode = CKEDITOR.ENTER_BR;
but this just changes the inline linebreaks to <br /> while leaving the enclosing paragraph.
Currently writing "Test" produces this output
<p>
Test</p>
but...
Hi everyone, I am trying to write a plugin for ckeditor, like in the link below
http://stackoverflow.com/questions/1139766/ckeditor-custom-plugins-button/1994020#1994020
the problem is, I want the button to change once I click it, and change back, so the users knows something happened. how can i change the path to the icon after the but...
The CKEditor website is somewhat lacking; can you tell me how to remove the status bar ('body ul li ...') from CKEditor?
There is a list of HTML at the bottom of the editor - body p ul li - representing how the typed text will be generated and I want to remove this list.
...
Does anyone know how i can attach an onpaste event in CKEditor 3.x?
I basically want to grab CTRL+V data and add few text to it and then add it to the editor.
I have looked around but have not found a definitive answer. CKEditor forum is of not much help.
Thanks a lot in advance.
...
I am using CKEditor for my wysiwyg editor and I need to monitor and limit the character count as they are typing I have a jquery script that works fine for a normal TextArea
<script type ="text/javascript" language="javascript">
function limitChars(textid, limit, infodiv) {
var text = $('.' + textid).val();
var textl...
Given a block of text in a TEXT EDITOR (CKEDITOR), with paragraphs contained in PARAGRAPH tags, how can I do in JQUERY to extract only the first paragraph
Example:
blah blah blah blah blah
blah blah blah 123123blah blah
blah blah blah blah b1212lah
blah blah blah blaasdasdadsh blah
To Just:
blah blah blah blah blah
Thanks
...
Ext.getBody().focus() does not appear to be working correctly in IE6. When a user navigates to a new ExtJS tab, I need to ensure he can no longer type into a CKEditor instance (hidden after navigating to a new tab) in which he might have been typing. The following code works in FF, but not IE6.
for( var instanceName in CKEDITOR.instan...
In FireFox, I can click anywhere in CKEditor (350px x 250px) to place focus on a single paragraph of text located at the top of the editor. However, in IE6 (I know, but our client insists) I must click directly atop the paragraph to focus the cursor and subsequently edit the text.
CKEditor creates the following:
<iframe>
<html>
<he...
Hi guys.
Well i first wrote a Javascrip function that would change the text in a textarea according to the selection you made in a dropdown box, a really simple thing.
HTML
<form name="formconteudo">
<select name="selectpage" onChange="change();">
<option value="1">something</option>
<option value="2">another thing</option>
<option va...
Hi,
Is there anyway to get the html clipboard data as done in getClipboardData() in plugin clipboard.js? Can anyone pls give me some guidelines to do that?
In previous version I can get data simply by calling CKEDITOR.getClipboardData() but this is no longer available in CKEditor 3.1.
Many thanks,
Kristin
...
How to prevent CKEDITOR from adding image dimensions as a style?
Instead of this:
<img src="image.jpg" style="height:100px; width:100px;">
I want this
<img src="image.jpg" height="100px" width="100px">
...
Anyone with CKEDitor experience know if it is possible to use JavaScript to call with Full Screen function/action outside of the CKEDITOR?
thanks
...
I am developing a simple email marketing web application with ASP.NET MVC 1.0. I have setup CKEditor 3.1 on a textarea in a view, the HTML editor renders fine. I can save the HTML content from the textarea with a POST to the controller.
The application needs to provide some "starter" HTML email templates to users for preparing an email...
Hi!
I looked on CKEditor's website and I noticed that there's no plugins documentation yet.
But I'm wondering if there is any anywhere else?
I'd like to make a little plugin to add youtube video from CKEditor. Pretty simple plugin but still I'd like to know how to make it.
Thanks a lot!
...
<script type="text/javascript" language="javascript" src="/Content/Scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/Content/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/Content/ckeditor/adapders/jquery.js"></script>
<script type="text/javascript" language="javascript">
...
Which character do I need to replace to safely 'print' raw HTML code from a database in a textarea, so I can edit this with CKeditor?
Or is there another existing preferred method of getting data into a CKeditor textarea? (e.g. AJAX)
...
I have another issue with a Security Exception, although this feels like it should be easier to solve.
I've added in to my site the CKEditor .Net library (from here: http://cksource.com/forums/viewtopic.php?f=11&t=15882)
I've included it on my page as a normal control:
<%@ Register Assembly="FredCK.CKEditor" Namespace="FredCK.CKEd...
Hi,
I'm trying to do this little something into one of my CKEditor plugins:
onOk:function(){
var sInsert=this.getValueOf('info','insertcode_area');
if ( sInsert.length > 0 ) {
regex = new RegExp('(?<=\?v=)([-a-zA-Z0-9_-]+)', 'gi');
url = 'http://www.youtube.com/v/'+sInsert.match(regex);
sInsert = '<object type="...
I am trying to use the SimpleModal plugin for jquery to load a popup div with a CKEditor in it, but when the modal box opens up, the CKeditor is all disabled and won't let me type text into it. I am using all default settings.
Any suggestions would be great.
...
Does anyone else find the online documentation to CKEditor woefully inadequate?
I upgraded to CKEditor 3.1 (from v3.0.1) and lost my toolbar. What other surprises can I expect? Have you upgraded to v3.1?
...