CKEditor is an assistive, WYSIWYG text editor that simplifies creating formatted content.

learn more… | top users | synonyms

0
votes
0answers
3 views

Drupal strips '<<END' bash code from body of node

In D7 with CKEditor, I have a node in Filtred HTML format with a bunch of text and code samples. One specific code sample is giving me a headache! It involves bash commands and when I enter a bash ...
0
votes
0answers
11 views

Enabling a custom richcombo plugin to CKEditor

I'm trying to enable my custom CKEditor plugin in Drupal, but the custom dropdown is never shown. I'm using CKEditor module. Here's what I did: I created a new folder in /ckeditor/plugins and ...
0
votes
0answers
5 views

CKEditor does not add web protocol to url

When I add a link in CKEditor without a web protocol (http:// or https://), the widget adds the link without the web protocol, too. Therefore, the link is interpreted as a route instead of a normal ...
0
votes
0answers
26 views

Is there any way to embed a url like facebook or medium? [on hold]

When I paste a link (for example: http://www.bbc.com/news/entertainment-arts-36353086) to medium editor the result is something like that; How can I do that in drupal?
-2
votes
1answer
33 views

Pasting from google docs removes the styles [closed]

When I copy text from a google doc and paste it to the ckeditor using the paste from word button it removes all the styling (bold, italics, ...). How can I fix that? update Steps to reproduce : ...
1
vote
2answers
27 views

How do I make an internal link with CKEditor?

I am using Drupal 8. Using the standard WYSIWYG editor, when I click on the link button, I only get the option to add a url. I would have thought there would be some capabilities to look up existing ...
1
vote
0answers
15 views

The Media module does not correctly render YouTube videos added with Media: YouTube

Trying to allow the user to embed YouTube videos from the Wysiwyg, CKEditor 3.6, Media: YouTube. This is the module config : Then I try to add a YouTube video by providing the URL link to the ...
1
vote
1answer
25 views

CKEditor removes HTML/CSS when switching to plain texteditor and back [duplicate]

My CKEditor seems to remove formatting in a table when I switch from plain text editor back to rich text editor even though the additional formattibn was added in the rich text editor - it seems to ...
0
votes
0answers
18 views

How can I set the focus on the CKEDITOR textarea after I change it to display:block?

I have a CKEDITOR textarea that is by default set to display:none on comment_button click I set the CKEDITOR textarea to display:block. How can I set the focus on CKEDITOR textarea after I perform ...
0
votes
0answers
19 views

Ckeditor removing line breaks

CKEditor was initially working correctly. Now it's removing all the line breaks and the font size and color changes in my text. The source code still shows , , , and tags (with closing tags), but ...
-1
votes
1answer
55 views

Ckeditor strips <i> Tag in Drupal 8

I have problem with drupal 8 and core CKeditor. CKeditor strips tags, and i can't find config.js to put this code: // allow i tags to be empty (for font awesome) ...
0
votes
0answers
10 views

CKeditor with widget enabled

In one of my installation I've installed CKeditor widgets to enable two column support. When I try to add a hyperlink in content area (the content area is generated by CKeditor two column plugin ) ...
3
votes
1answer
37 views

How do I add extra/custom plugins in CKEditor?

I am copying the templates plugin http://ckeditor.com/addon/templates I put it in my D8 folder /core/asstes/vendor/ckeditor/plugins I do a 'drush cr' I do not see the templates plugin under ...
0
votes
0answers
14 views

CKEditor toolbar does not appear as configured

under /admin/config/content/ckeditor/edit/Full I have configured the CKEditor toolbar to appear in Full. However, when I edit my content in Full HTML, the toobar looks incomplete (see screenshot). ...
3
votes
1answer
46 views

How to allow for manual HTML & CSS changes?

I'm using CK Editor to insert a table into my content (Body field). I would like to set a background color, so I extended the style="width:100%" to be style="background-color: #FFEEE4; color: ...
1
vote
4answers
61 views

Why does the Wysiwyg module and Ckeditor library not show the CKEditor when editing a node?

I installed latest version of the WYSIWYG module (dev version) and also the latest CKEditor library. This module can find the library, I selected the ckeditor for text format "Full html" only. But ...
0
votes
0answers
17 views

ckeditor - Two views with editable fields on the same page

I have put two identical pane views (an original display along with a clone) on the same page. I needed two copies because each view has its own set of exposed filters, so they can display different ...
0
votes
0answers
18 views

How do I add 3rd party CkEditor plugins to the editor? [duplicate]

I have found a third-party CKEditor plugin I want to add to the editor provided by Drupal core in Drupal 8. What do I need to do to be able to make it possible to add this new option to the editor? ...
0
votes
1answer
18 views

D7 - Ckeditor buttons get messed up when moving a site from one server to other

I just moved a D7 site from one server to another and the Ckeditor buttons get messed up. Look my capture. How can I fix this? I use the Adminimal Theme but it is not the problem. If I switch to ...
1
vote
1answer
162 views

Drupal 8 CKEditor Widget not working

I'm having trouble making my own module to extend and incorporate a button that inserts markup to the ckeditor. I have used the following resources but cannot get it to work. ...
3
votes
1answer
58 views

How to prevent CKEditor trim plain text in source view

I'm using Drupal 8, In source view when I paste some plain text like this: Hello sir. <br /> Hello sir. And submit node form, without toggling back to rich-text mode, text above is removed. ...
1
vote
0answers
33 views

Adding “Browser Server” to CKEditor iframe insert box

I have a drupal site and I want to be able to select files from the server and insert them into a iframe. I can do this with images but the button is missing for iframes, and I was hoping there was a ...
0
votes
0answers
43 views

How to rename uploaded files

Using Drupal 8, I want to rename and clean all filenames, e.g. If someone uploads file named like this Screen Shot 2016-03-29 at 1.13.21 PM.jpg, I want to clean it so that convert all spaces to dashes ...
1
vote
1answer
50 views

How to change text format of summary/trimmed field?

Is there a straightforward way to change the summary/trimmed text to "full html" in Drupal 8? There are workarounds such as creating separate body fields and using them as the summary but I am ...
0
votes
0answers
31 views

Media module tokens vs. HTML in CKEDitor

I'm going to try my best describe the nightmare this has been, and hope there's a solution. Using the media module, when you add an image, the text inserted looks like this: ...
1
vote
1answer
41 views

Programatically adding new CKeditor instance

What is the trick to ckeditor in D8? It's woefully under documented and CKEDITOR / CKEDITOR.instances seemingly return nothing, despite showing multiple instances of ckeditor instances available. ...
0
votes
1answer
24 views

How to order CKEditor plugins

I'm implementing CKEditor Drupal plugins using CKEditorPluginContextualInterface in D8. I wander if there is a way in which I can control the order/weight of the plugins so that I could change which ...
0
votes
0answers
60 views

Problem with embedding tweet and instagram posts to content with wysiwyg + ckeditor

I am using wysiwyg module with CKEditor. Sometimes I have to add my content some tweet or instagram posts. When I turn to text format "Full HTML" and click the source button from the editor I can add ...
0
votes
0answers
38 views

Rename uploaded file in hook_entity_presave()

I want to alter/rename files uploaded by CkEditor image dialog. I'm using $entity->setFilename($new_name); and $entity->setFileUri($new_uri); in hook_entity_presave(). The name of the file ...
0
votes
1answer
40 views

Ckeditor Stripping all attributes, when re-editing content

Ckeditor is stripping out all attributes from the source code. This is the case I'm going through: When I add html code to the source of the Ckeditor, and then want to preview the changes by ...
0
votes
1answer
25 views

Best Solution for creating columns in CKEditor

It's usually against my principles, but I need to be able to create columns of content inside rich text areas for flexibility. I have tried CKEditor Widgets ...
0
votes
1answer
41 views

Configure inline images upload path per content type

There is a core feature that lets you configure where to save inline images uploaded using CKEditor: Here you can specify the path where you want store inline images. But this is global ...
1
vote
3answers
89 views

How do I modify the “Formats” dropdown in CKEditor

The CKEditor in Drupal 8 has a Formats toolbar button containing different text formats: "Heading 1", "Heading 2" etc. How can I add and remove items from this list?
0
votes
1answer
67 views

Copy content from Word and use paragraph style names as classes

Is it possible to copy content from a Microsoft Word document into Drupal and use the name of paragraph styles used in word as class names in the HTML? I am using: Drupal 7.34 CKEditor ...
1
vote
0answers
23 views

Ckeditor upload tab missing for admins and authenticated users

I'm running a D7 system where I'm using Ckeditor, Ckeditor media and media. I'm having an issue where within 'image' tab the 'upload' tab is only showing for superuser not for admins or rest of the ...
0
votes
1answer
48 views

MathJax(LaTex) equation shows in the CKeditor body area but not on the final webpage?

I am using CKEditor module and have enabled MathJax option. When I use MathJax it works in the CKeditor and shows teh eqiation, but on the final display webpage instead just showing equations it is ...
1
vote
1answer
43 views

Anyway to disable minification (make line breaks) in the source view of CKEditor WYSIWYG

My question is different from one I've seen answered quite a bit here and elsewhere. My line breaks are showing up in WYSIWYG and the rendered content just fine. However, I was wondering if there is a ...
2
votes
1answer
32 views

H1 tag not showing on front page

Im using Drupal 7.41 and Omega3 sub theme and Ckeditor. I have added a sentence in the style of heading (h1) at the top of my Home Page content, it shows in Ckeditor using the source button (showing ...
0
votes
2answers
33 views

How can I let images uploaded via ckeditor show their full url in a json request via REST?

I have textarea fields in my headless drupal 8 site. When I get the node via REST in json it does not give the domain name in the image urls that are uploaded via ckeditor. So the images are not shown ...
0
votes
1answer
30 views

How do I get a javascript library to work inside the CKEditor module?

My content administrators want to be able to toggle back and forth between bootstrap nav-pills inside of the CKEditor instance. Out of the box, CKEditor doesn't seem to allow javascript to function in ...
0
votes
0answers
18 views

Ckeditor / Ckfinder file upload issue in Drupal 7

these are the relevant specs of my site: Drupal 7.41 Ckeditor module 7.16 Ckeditor 4.4.7 Ckfinder 3.2 (full version) There is a somewhat annoying issue regarding the upload of files. When I click on ...
2
votes
1answer
135 views

Custom button for CKEditor not showing up in node creation page

I want to add a simple custom button to CKEditor in Drupal 8. So far I followed the Instructions here and here, and my custom button is showing up on the configuration page under Configuration > ...
0
votes
1answer
13 views

CKEditor Toolbar Configuration

I would like to use CKEditor on my Drupal website. But the toolbar is not showing up when I go to edit appearance on any profile (full or advanced). Although, when I add or edit any type of content, ...
1
vote
1answer
37 views

Teaser is missing CKEditor when uncollapsed

I have text with summary fields on my entity and for some reason the ckeditor is present only on the body, not on the teaser if I uncollpse it. What could be the issue?
0
votes
1answer
39 views

No 'Div Container' button in CKEditor

I've got CKEditor 4.5.0 working on a Drupal 7.42 install. I'm now trying to find a way to wrap more than one HTML element inside a DIV (I want an image and caption to be wrapped in a single DIV). On ...
0
votes
0answers
42 views

Installing the slideshow plugin with CKEditor

I'm using CKEditor 4.5.6.91 with Libraries and WYSIWYG. I've tried the following: Installing the Slideshow plugin to CKEditor by following the directions on the Slideshow plugin page exactly (that ...
0
votes
1answer
93 views

IMCE browser just won't work (403 error)

I've installed IMCE to the CKeditor 4.54.4 in Drupal 7.41 (all in latest versions) and configured it both from editor appearance and file browser settings. Seemingly I did all by the book and there ...
1
vote
0answers
32 views

Various shape drawing with CKEditor in drupal 7?

Is there any way to draw various shapes (circle, triangle, rectangles) like MS-Office-Word/Paint shapes in the CKEditor. I tried to find the plugin, but could not. Is there anyway.
0
votes
1answer
40 views

drupal 8 image dialog position [closed]

I really hope somebody can help me out with this: I'm designing a Drupal 8 project and I'm using the built-in CKeditor to edit articles. But the image popup renders outside of screen bounds and I ...
0
votes
1answer
35 views

CKeditor not showing. 403 on ckeditor.config.js and ckeditor.styles.js

I have a site with ckeditor 7.x-1.16 installed (not the WYSIWYG module). I have a local dev (XAMPP windows) staging (Linux) and production (Linux). On the local dev copy and the production copy ...