McAdam Posted September 24, 2021 Share Posted September 24, 2021 How can I force the text to wrap in source view of the editor. I don't want the horizontal scroll bar to appear. I've been searching for a solution for this and came across a couple of fixes but none of them took effect. overwriting the 'white-space' property of the "cke_source" selector in the "editor_gecko.css" file of the CKEditor module. This file is located at: \sites\all\libraries\ckeditor\skins\editor_gecko.css.cke_source { white-space: pre-wrap !important; } added the same rule under the custom editor CSS file in /site/modules/InputfieldCKEditor/contents.css Link to comment Share on other sites More sharing options...
virtualgadjo Posted September 25, 2021 Share Posted September 25, 2021 Hi, i may be wrong but the image you show doesn't look at all like PW CKeditor even when i add a lot of plugins and/or functionnalities... (not the case here but adding font-size, colors, background-colors, and so on doesn't change the display except for some more buttons ? ) and, by default, the text is wrapped inside the source view, at least when using the pw default sourcedialog extension checked, what i alwasy do are you sure you're using the default pw ckeditor? have a nice day Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now