Closed (fixed)
Project:
CKEditor Allowed Content Rules
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2020 at 07:27 UTC
Updated:
24 Aug 2020 at 08:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bunty badgujar commentedCombine all regular expression in one.
Comment #3
tdnshah commented@bunty this module is failing the test images attached below are the steps taken for the test.
1. Installed & Enabled ckeditor_acr module.
2. In the ckeditor setting at the location admin/config/content/formats/manage/full_html?destination=/admin/config/content/formats and added the rules as mentioned in the module description page.
3. Created a new article with a "a" tag which do not have a href tag and the article got saved without an "href" attribute.
Images attached.
Comment #4
bunty badgujar commented@tejas, I can see you added rules in full_html. Can you confirm if you add link in full_html in node or basic_html. Because default is basic_html in node/add form.
Comment #5
tdnshah commented@bunty yeah i confirm that i used the Full_html in the editor as well as was aware that i have added rules in Full_html :), but i have a observation here as after adding the a tag without href and saving upon reopening i could see that a tagand its content are wrapped in an p tag
I have attached the image for the same.
Thank you
Comment #6
tdnshah commentedAdding a note in the description of the setting field stating the prerequisite for this setting to take effect.
Comment #8
bunty badgujar commentedThanks @tejas.