Opened 9 years ago
Closed 8 years ago
#14284 closed Bug (expired)
extra white space appear in code snippet area in ckeditor
Reported by: | zami | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
I am using ckeditor's code snippet pluggin.Problem is when in put code in the window everything is ok in chrome ,but when i put it in editor a lot of white space appears.And in firefox white space appears both in snippet window and editor.How i can solve this? i want something like SO's code snippet's auto indentation
i tried the following code.but not helping me much:
CKEDITOR.addCss( 'body {word-break:break-all;}' );
CKEDITOR.addCss('code{font-size:14px;}'); CKEDITOR.addCss('code{white-space:pre-wrap}');
Attachments (2)
Change History (4)
Changed 9 years ago by
comment:1 Changed 9 years ago by
Status: | new → pending |
---|---|
Version: | 4.5.6 |
.Problem is when in put code in the window everything is ok
What Window? Are you talking about page being displayed in a browser window? If that is the case, could you attach sample html file that I could display in a browser, copy code from it and paste into conde snippet plugin window?
comment:2 Changed 8 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
in the editor body