GetSimple Support Forum
How to force nbsp in WYSIWYG page editor - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: How to force nbsp in WYSIWYG page editor (/showthread.php?tid=10592)



How to force nbsp in WYSIWYG page editor - vanfruniken - 2018-09-18

Sometimes when I type spaces in the WYSIWYG view of the page editor, they are inserted as non-breaking spaces (&nbspWink.
This can be useful to have some control of the wrap-around, where it may be better to keep some words together.

However, sometimes, I explicitly want a regular space, e.g., while editing shortcodes (such as { %cmd param%}): these break when the spaces are non-breaking spaces.

Is there a way to have explicit control over which space is inserted (without having to go into source view)?


RE: How to force nbsp in WYSIWYG page editor - Alexander_ - 2018-09-18

(2018-09-18, 18:10:19)vanfruniken Wrote: Sometimes when I type spaces in the WYSIWYG view of the page editor, they are inserted as non-breaking spaces (&nbspWink.
This can be useful to have some control of the wrap-around, where it may be better to keep some words together.

However, sometimes, I explicitly want a regular space, e.g., while editing shortcodes (such as { %cmd param%}): these break when the spaces are non-breaking spaces.

Is there a way to have explicit control over which space is inserted (without having to go into source view)?

AFAIK is this only when typing two or more spaces but not when typing only one space.

Alex


RE: How to force nbsp in WYSIWYG page editor - shawn_a - 2018-09-19

there is a custom config to control this


RE: How to force nbsp in WYSIWYG page editor - vanfruniken - 2018-09-19

Thanks, Alexander. I experimented on the basis of your suggestion, and nbsp indeed seem to be generated for additional spaces. In the end, this makes sense.
Thanks Shawn, for your hint as well.


RE: How to force nbsp in WYSIWYG page editor - shawn_a - 2018-09-20

it is detailed somewhere, I just do not know at this time, its a ckeditor enter_br or something