Questions tagged [wysiwyg]

Use it for questions about the WYSIWYG editors made available in Drupal.

Filter by
Sorted by
Tagged with
2
votes
1answer
966 views

How can I correct a word on the CKEditor field?

When editing a text area in Drupal 8, right clicking a highlighted spelling error doesn't produce a context menu option to correct the misspelled word. How can I correct the word on the CKEditor field?...
2
votes
1answer
810 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. ...
2
votes
1answer
329 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 ...
2
votes
1answer
419 views

How to revolve TinyIMCE error 'The version of TinyMCE could not be detected'?

I installed these modules: Wysiwyg, IMCE Wysiwyg bridge, IMCE. Then downloaded the libraries from: https://www.tinymce.com/download/ (developer edition, community doesn't even have a non minified ...
2
votes
1answer
2k views

How do I remove all default styles (such as div.widthMarker) from CKEditor?

I have copied ckeditor.styles.js to /themes/seven/ckeditor.styles.js, and in the configuration page /admin/config/content/ckeditor/edit/Advanced I altered the predefined styles drop down to point to ...
2
votes
3answers
1k views

Images in CKEditor don't retain size

I can't seem to figure out how to retain image sizes in CKEditor. When an image is sized, and the content is saved, and then edited again, I want the size to stay the same as set originally. Is ...
2
votes
2answers
644 views

Autosave with TinyMCE

I have tried outputting code simliar to the custom_format example thats included with TinyMCE. I enabled the Autosave module, however I never see a "restore drafts" button. The only setting that doesn'...
2
votes
1answer
1k views

Make insert module add uploaded images to media library automatically

I'm trying to get adding images to work smoothly (more like how wordpress handles it) I have added WYSIWYG+CKeditor, Insert, Media, Resize Filter (which I can't yet get working). Right now the main ...
2
votes
1answer
3k views

How to fix “Cannot read property 'icons' of null” error?

First of all, I'd like to mention this answer is not related, I'm using Drupal 8.6.1. I'm trying to create a CKEditor plugin with a new button. In the /admin/config/content page I get the error but ...
2
votes
1answer
2k views

How to expand/collapse text in WYSIWYG w/CKEditor

In full nodes of a certain content type (using panels), I would like to display a text summary with a read more link to display full text, then a show less link to collapse. I had smart trim enabled ...
2
votes
1answer
87 views

Is there a way to add terms for the Spell Checker in editor to reference?

There are unique terms related to the industry that the spell checker might flag as incorrect. We are looking for a solution for the client team to add the unique terms so they are not flagged as ...
2
votes
1answer
1k views

How to assign a CKEditor profile to a specific field?

I'm learning Drupal and right now CKEditor. I want my website to have a blog, with a complex editor for the articles, and a much simpler one for the comments. I have created two different profiles in ...
2
votes
1answer
1k views

Wrapping embedded images with a div

When embedding an image in CKEditor on Drupal 7 any styles or alignment are applied directly to the image itself e.g. <img src="..." style="float: left; width: 90px; height: 150px" /> However ...
2
votes
2answers
3k views

How do I prevent CKEditor 4 from stripping Google AdSense asynchronous tags?

For whatever reason, CKEditor 4 is stripping Google AdSense asynchronous tags from my Full HTML text format. What starts as this (placeholders substituted for IDs): <script async src="//pagead2....
2
votes
2answers
456 views

Disabling Wysyig profile profile for particular content type

I am using CKeditor with wysiwyg profile . I want to disable this Wysyig profile for a particular content type. cant find a better way. please help me out with any module if its there or any ...
2
votes
1answer
1k views

Custom template for media

I am using media module and using it in WYSIWYG. Is it possible to customize the display of media image? Is there any template file I can rewrite or any hook to call? I found file_entity.tpl.php. but ...
2
votes
1answer
328 views

node-edit-protection module not working in CK Editor window

I am using node-edit-protection module to alert a user if they are navigating away from a modified Node Edit form without saving. It worked fine if we edit title or any other fields. But not worked if ...
2
votes
1answer
3k views

Images not displaying on site (or in view source) after uploading them with ckeditor

I've manually added the filtered Html option because it wasn't there with my drupal 7 installation. In the editor view I get the upload image option etc, and I am able to browse and insert images. ...
2
votes
1answer
854 views

Full Html Text format (and wysiwyg) show only for administrator role

I use Wysiwyg module with CKeditor since months and all worked well. Wysiwyg module is linekd only wit my input-format "Full html" and this is granted to use to my role "Editor". it worked very good. ...
2
votes
2answers
2k views

WYSIWYG + TinyMCE: Pressing Enter inserts break instead of paragraph

Does anyone know, how I can manage TinyMCE to insert <br> instead of <p>Paragraphs</p> when pressing enter? The best would be if you press enter once, it inserts a normal break. ...
2
votes
1answer
2k views

How to choose the default (or any) CKEditor toolbar?

OK, I'm obviously missing something. I've installed CKEditor into a D7 site, and all's well. The only problem is I can't figure out how to specify the toolbar that will come up by default in ...
2
votes
1answer
2k views

How to fix display problems with CKEditor?

I have installed CKEditor 3.6.0.6, I have enabled some buttons as in image: CKEditor 3.6.0.6 in full size browser However when I resize the browser smaller than the buttons zones, here is how is ...
2
votes
1answer
1k views

Integrate TinyMCE

I need to install Tinymce in Drupal 8 as default text editor. I have searched for a solution but there is no much information. I have deduced that the 'old' module wysywig (an RTE's manage module) ...
2
votes
1answer
1k views

How to use Font-your-face fonts with CKEditor?

I am using some Google fonts via the Font-your-face module on my D7 website as well as CKEditor for content editing. To achieve full wysiwyg effect I would like to display the text in editor with ...
2
votes
1answer
107 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: black;...
2
votes
4answers
1k 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 ...
2
votes
1answer
60 views

How to add others libraries such as Zenpen to WYSIWYG profiles?

I would like to use an editor for Drupal like Zenpen. Is it possible to add that library (Zenpen) to WYSIWYG profiles?
2
votes
1answer
540 views

Why are some CKEditor configurations working and not others?

I am using CKEditor 4 in Drupal 7 using the CKEditor module. I have the following configuration at /admin/config/content/ckeditor/edit/[profile]: config.stylesCombo_stylesSet = 'my_styles:/sites/all/...
2
votes
2answers
350 views

ckeditor installation

I went to the ckeditor website made a custom build of an ckeditor with the plugins I want, then downloaded and extracted it to sites/all/libraries/ckeditor (I previously installed the libraries and ...
2
votes
1answer
2k views

Ckeditor: Add Cite tag

I am using Drupal Ckeditor (The main one, not the WYSIWYG module). I would like to add buttons to the interface for inserting <quote> and <cite> tags. How can I do this? It already has ...
2
votes
2answers
3k views

How to disable text format options in CKEditor

I wish users don't have the option which text format they want to use as shown here: I have been playing around with the better formats module, Currently only works on Field API fields on fieldable ...
2
votes
1answer
2k views

CKeditor: Add class to all ul and ol elements on output

The ul and ol elements are often used in theming outside of the 'text'-context (e.g. category blocks, etc.). Therefore the bullets are removed by default. Is there a way to add a class to all ul and ...
2
votes
1answer
1k views

How to use CKEditor for basic HTML formatting with webforms automatic emails?

How do I use CKEditor for the 'email template' field when setting an automatically generated email for a webforms submission. The email template field is found when you go to Content of type 'webform'...
2
votes
4answers
1k views

Stop markup being pasted into WYSIWYG?

Im making a CMS for a client who will be copying and pasting content into the body of nodes. I want to remove certain markup from coming through (eg inline styles) but allow other markup (p and br ...
2
votes
1answer
191 views

URL tags not converted to <a> HTML tags

I have been using CKEditor, but didn't like the table editing capabilities so attempted to move to TinyMCE. Having done this, all links now appear as plain text in the following format : [url=http://...
2
votes
1answer
373 views

Improvements in Drupal Gardens way: How do I place an input filter selector in CKEditor?

I would like to know how to achieve two improvements in WYSIWYG in the same way Drupal Gardens does. The first one is to place Input filters selector as a dropdown selector within the WYSIWYG toolbar,...
2
votes
1answer
216 views

Modules needed to create the best WYSIWYG experience?

What do you use to give the end user (editor) the best WYSIWYG experience, considering the following requirements (besides basic input): Insert images/flash and align then left/center/right with ...
2
votes
1answer
3k views

How to add custom plugin controls to CkEditor

I have made custom plugin for ckeditor in drupal ckeditor module. The page where I am displaying CKEDITOR is loaded through AJAX and I am doing a replace div to show the CKEDITOR. the code for ...
2
votes
2answers
804 views

How to upload images via CKeditor 6.x - 1.3?

is there any way to one click upload images with a CKeditor? Found this https://drupal.org/project/ocupload but sadly - its for 7.x version of Drupal :(
2
votes
0answers
43 views

How to add conditional on Gutenberg's color theme-support?

I've added the Gutenberg theme-support on my custom theme. I want to add conditional based on text color and background color. For example, selecting the black color background will reset the default ...
2
votes
0answers
226 views

CKeditor Media Edit: AJAX HTTP error 500 [closed]

How can I fix the AJAX HTTP error 500 to make the "Edit media" button in the body of the CKeditor work? I am trying to use the "Edit media" function to edit an image, which was ...
2
votes
0answers
76 views

Conditional loading of CKEditor plugins [closed]

I have written two widgets used on a form, now I have to write a plugin to be loaded in a view with editable content. These plugins should not mix: the buttons shown in the first two make no sense on ...
2
votes
0answers
529 views

CKEditor Internal links are not prefixed with language

I have a multilingual Drupal site and I noticed that the paths of relative links added by CKEditor ignore the current language prefix and redirect to that node pages with default language (ie. /cn/...
2
votes
2answers
2k views

Change ckeditor table dialogue defaults

Quite simply the ckeditor table dialogue defaults to a table width of 500, yes the client should be told to delete that value, but I would like to alter the default table width value programmatically ...
2
votes
0answers
164 views

Text_format field value not retained in form

I am using Ctools to generate a popup and I'm loading my form inside it. In order to use a textfield with youtube link embedding and image uploading, I am using WYSIWYG module with CKeditor library. ...
2
votes
0answers
269 views

How to remove unclosed tags(e.g. <strong>) in ckeditor?

How to remove unclosed tags(e.g. ) in ckeditor? When I put any unclosed tag within a tag, its closed automatically before closing parent tag. e.g. below my code before render <div> <strong&...
2
votes
0answers
47 views

Edit with Full HTML on block changes closing div bracket to its character entity references

I'm facing issues in writing full html codes in custom block using CKEditor. Even though I select Full HTML mode and toggle to 'source' while writing html content to block, some characters like ...
2
votes
1answer
1k views

Enable CKeditor on Webform's textarea

I'm trying to create a contact form supporting HTML formatting with Webform and CKEditor. So I created a new webform with a single field of type Textarea and now I have a simple webform with the basic ...
2
votes
0answers
177 views

Modify URLs generated by CKEditor Link for specific node type

How do you alter the URL generated by CKEditor Link, for a specific content type. For example I have book_section content type. If a content editor links to a node with type of book_section I want to ...
2
votes
0answers
194 views

wysiwyg module and imce missing upload button

I am attaching an image....i have wysiwyg module with cke library and also imce module and imce bridge module. When I click browse to upload images, i get a nonfunctioning screen....It does not work ...

1 2 3
4
5
17