Hi,

I am using dev version of the module. I tried using this version because html tags from are stripping when the text editor is loaded. I found a issue at https://www.drupal.org/node/1956778 which suggests that the problem is fixed.

I am facing problem configuring the module

I have a simple text as <p><span>MY TEXT HERE</span></p>

I am using dev release of the wysiwyg module, ckeditor 4.5.3 and when I edit the page the ckeditor shows blank i.e. it destroys all text.

When I click on disable rich text editor it shows the html.

Not sure what should be the configurations for my html to retain everything which was entered previously.

I tried with acf configurations as
1) Disabled
2) Automatic and had the content rules to p(*) so that it doesn't trim p tags. I read this somewhere

Not sure what should be the ideal configuration. Would be great if someone can update the configuration.

Thanks,
Sadashiv.

Comments

sadashiv created an issue. See original summary.

rocketeerbkw’s picture

I couldn't duplicate this with a fresh install of Drupal 7.41, WYSIWYG 7.x-2.x-dev, and CKEditor 4.5.3.

I used disabled for the ACF Mode (which is the default) and none of my content is being modified when CKEditor loads.

What buttons do you have enabled? What other wysiwyg modules or plugins do you have installed? Does this happen anywhere you use CKEditor on the site?

sadashiv’s picture

Title: ACF configurations to avoid html tags from stripping » Text lost when text editor used for textfields
Category: Support request » Bug report

Hi,

Thanks for checking this issue. I checked with other content types on my site and found that everything is working fine, then realized that it fails only for text fields. I checked my configurations and found that it's a simple text field with filtered text enabled. I was able to replicate this even on a clean install and with no html tags i.e. All text is lost.

Thanks,
Sadashiv.

rocketeerbkw’s picture

Status: Active » Closed (duplicate)
Related issues: +#2427559: CKEditor support for textfields

That sounds like it might be the same problem as #2427559: CKEditor support for textfields. There is a patch available in that issue that might fix it.

I'm going to mark this as a duplicate of that issue, but if you think it's separate please reopen.

sadashiv’s picture

Thanks for providing the link to the issue

The patch worked for me

Thanks,
Sadashiv