When using the WYSIWYG editor after pressing return it goes down 2 lines ie
line 1
line 2
i've looked for anything that could be causing this as I assume it's something simple but I just can't find it.
WYSIWYG editor leaves blank line
Re: WYSIWYG editor leaves blank line
Do you really mean WYSIWYG-Editor enabled in personal preferences?
I am not sure what you mean to happen actually ... but first read this about S9y WYSIWYG Editors
http://board.s9y.org/viewtopic.php?f=4&t=19354 (that might help)
I am not sure what you mean to happen actually ... but first read this about S9y WYSIWYG Editors
http://board.s9y.org/viewtopic.php?f=4&t=19354 (that might help)
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: WYSIWYG editor leaves blank line
yes, i've just install serendipity_event_ckeditor and it's doing the same thing
evert time i press 'return' it goes down 2 lines
evert time i press 'return' it goes down 2 lines
Re: WYSIWYG editor leaves blank line
You mean in the editor itself - in wysiwyg-mode, right?
This is the normal usage of <p></p> = paragraph as the default newline (nl) replacer. (Has nothing to do with our nl2br (read nl-to-br, not two!) plugin though.)
See http://ckeditor.com/demo
This is the normal usage of <p></p> = paragraph as the default newline (nl) replacer. (Has nothing to do with our nl2br (read nl-to-br, not two!) plugin though.)
See http://ckeditor.com/demo
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: WYSIWYG editor leaves blank line
yes that's right, is there anyway i can change this behavior?
i tried adding
to config.js but that didn't work
i tried adding
Code: Select all
CKEDITOR.replace( 'textarea_id',
{
enterMode : CKEDITOR.ENTER_DIV
});
Re: WYSIWYG editor leaves blank line
Yes and No. Since this is the WWW, you can tell the p tag to behave differently by CSS. But that would mean to change ckeditor CSS, Serendipity CSS and your templates CSS. Everyone used to this paragraph behaviour would moun and this is a fight against windmills.
But if you promise not to tell anbody, there is an (internal) option - open the custom cke_config.js (Line ~76) and set
But if you promise not to tell anbody, there is an (internal) option - open the custom cke_config.js (Line ~76) and set
Code: Select all
config.enterMode = CKEDITOR.ENTER_BR;
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: WYSIWYG editor leaves blank line
Hit Shift+Enter.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: WYSIWYG editor leaves blank line
I'm impressed!!!!!!!
Edit: I added a cheatsheet plugin to ckeditor 3.2.0+, which will help to find hidden gems like this!
Edit: I added a cheatsheet plugin to ckeditor 3.2.0+, which will help to find hidden gems like this!
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian