Project

General

Profile

Actions

Bug #19064

closed

option+space for inserting non-braking space on Mac OSX does not work properly

Added by Helmut Hummel almost 16 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-07-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

first: I tried this in Safari3 and FF3, FF2 on Mac OSX Leopard

When hitting option+space sometimes no nbsp; but a normal space is inserted (checked with HTML-view)

With Firefox, hitting option+space before or after a normal space inserts a nbsp; but whe I try to divide a word by hitting option+space only a normal space is inserted

With Safari,dividing a word with option+space works correctly, but if I hit backspace and try overwirte the nbsp; with a normal space (by simply hitting only the space key) the nbsp; stays, same with deleting a normal space with backspace and instatly after that hitting option+space inserts a normal space (it works if I hit backspace, switch to HTML view, switching back to normal view and after tha pressing option+space or space)

tested with TYPO3 4.2.1

(issue imported from #M8905)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #19817: htmlArea RTE: let option+SPACE insert a non-breaking space for MAC usersClosedStanislas Rolland2009-01-13

Actions
Actions #1

Updated by Jörg Wagner about 15 years ago

I think that some things get mixed up here. There actually is a problem with Option-Space on Mac, but part of the descriptions of Helmut is not an error:

With Firefox, hitting option+space before or after a normal space inserts a nbsp; ...

In RTE putting a second space before or after an existing space ALWAYS creates  . This is necessary because multiple consecutive spaces in HTML always get collapsed into one single visible whitespace. So hitting Space multiple times would actually advance the cursor only once, and to make the usage more intuitive for editors the RTE automatically transforms adjacent spaces into  .

The bottomline is that with multiple spaces you do not have to press Option at all to get a  . Just hitting Space multiple times results in one space followed by several  .

The real problem - at least to my research - is that Option-Space does not work AT ALL in RTE on Macintosh (as described in related bug report 10127). Currently Option-Space just behaves like hitting the sole Space bar on Mac.
I guess that Helmut's trials to insert   did succeed sometimes only because occasionally he inserted multiple spaces and the RTE transformed some of them into   as described above.

On all my test I could not find a single instance where Option-Space created a   when used in the middle of a word (not adjacent to any other space). This did not depend on the browser used. It is a general problem, probably related to the OS (Option-Space might be reserved for Spotlight) or to a general flaw in the JS code of HTMLArea on Mac.

Actions #2

Updated by Stanislas Rolland about 15 years ago

Please try the patch attached to issue #10127 with Safari on Mac after applying the patch attached to issue 0010324.

Make sure to delete all files from directory typo3temp/rtehtmlarea and to clear the browser cache before testing.

Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF