[wp-trac] [WordPress Trac] #28448: Add non-breaking space to the editor (special character)
WordPress Trac
noreply at wordpress.org
Mon Jan 5 21:55:13 UTC 2015
#28448: Add non-breaking space to the editor (special character)
-----------------------------+------------------------------
Reporter: benoitchantre | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.9.1
Severity: normal | Resolution:
Keywords: close | Focuses: ui
-----------------------------+------------------------------
Changes (by azaozz):
* keywords: => close
* type: defect (bug) => feature request
Comment:
This is a bit more complex: on getting the content from the editor we
encode only `<`, `>`, and `&` as entities, all the rest including ` `
are converted to UTF-8 characters. So even if there is an ` `, it
becomes "invisible" in the Text editor or when looking at the HTML source.
Replying to [comment:1 MikeHansenMe]:
> I think this is a tinymce plugin.
There is indeed a TinyMCE plugin that adds a button to insert non-breaking
space:
https://github.com/tinymce/tinymce/blob/master/js/tinymce/plugins/nonbreaking/plugin.js.
Don't think it should be included by default in WordPress, there are
several plugins that add it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28448#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list