Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to force nbsp in WYSIWYG page editor
#1
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)?
Reply
#2
(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
Reply
#3
there is a custom config to control this
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#4
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.
Reply
#5
it is detailed somewhere, I just do not know at this time, its a ckeditor enter_br or something
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 2 Guest(s)