Commit Graph

48 Commits

Author SHA1 Message Date
azaozz
e844940922 Put the spinner back to the right of the search field in internal linking, fixes #21351
git-svn-id: http://core.svn.wordpress.org/trunk@21319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 04:41:18 +00:00
azaozz
34535097b7 Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar).
Add tabindex="-1" for the menu images links to avoid double tab stops there when the menu is expanded.

Fix/add auto-focus on the first input fields on the Add/Edit Post, all taxonomy, all edit taxonomy, Log In and Edit Comment screens.

See #21340.

git-svn-id: http://core.svn.wordpress.org/trunk@21311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 00:15:15 +00:00
azaozz
4a9e3f4297 Fix internal linking search spinner position, fixes #21351
git-svn-id: http://core.svn.wordpress.org/trunk@21306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:18:28 +00:00
azaozz
2309fcb9d7 TinyMCE: fix tabbig in and out of the editor, fixes #20834
git-svn-id: http://core.svn.wordpress.org/trunk@21300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-22 02:33:53 +00:00
azaozz
e7b985db6f Clarify that 'html' refers to the Text editor tab, see #20993
git-svn-id: http://core.svn.wordpress.org/trunk@21218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:28:01 +00:00
markjaquith
813ca40b2f Switch "HTML" tab to "Text" in DFW mode. Update documentation and inline comments to refer to the "Text" tab or mode instead of "HTML". see #20993
git-svn-id: http://core.svn.wordpress.org/trunk@21212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 15:28:13 +00:00
markjaquith
3323158727 Rename the "HTML" editor tab to "Text" (as it has never been a pure HTML editor, but a text editor that supports HTML and also does some HTML transformations automatically). fixes #20993
git-svn-id: http://core.svn.wordpress.org/trunk@21211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 15:19:01 +00:00
nacin
25183988dc Allow add_editor_style() to load a child theme's editor style when the parent theme's style exists for the same filename. props SergeyBiryukov. see #21026 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 20:45:05 +00:00
azaozz
08bdb01d7d Fix adding of parent theme's editor-style before child theme's, props SergeyBiryukov, see #19437
git-svn-id: http://svn.automattic.com/wordpress/trunk@20342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-02 22:26:11 +00:00
azaozz
c5d31d71a1 Rename back the handle for the editor CSS, props nacin, fixes #19843
git-svn-id: http://svn.automattic.com/wordpress/trunk@20334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-31 16:32:47 +00:00
nacin
cfacacde28 Move editor-buttons.css to editor.css to reflect its current use. see #19843.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 13:43:52 +00:00
azaozz
f3b63e4537 Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863
git-svn-id: http://svn.automattic.com/wordpress/trunk@20168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-10 01:23:48 +00:00
azaozz
dcb5dc204c Add support for DFW for all instances of the editor, part props sushkov, fixes #19843
git-svn-id: http://svn.automattic.com/wordpress/trunk@20166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 23:23:10 +00:00
azaozz
dd45b9c2ca Don't pass non-existing rtl stylesheet to TinyMCE, update phpdoc for add_editor_style(), see #19437
git-svn-id: http://svn.automattic.com/wordpress/trunk@20059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 00:18:26 +00:00
azaozz
4c10d04190 Load TinyMCE's non-minified "*src.js" plugin files when SCRIPT_DEBUG is defined, part props ericlewis, fixes #20055
git-svn-id: http://svn.automattic.com/wordpress/trunk@19945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 06:43:47 +00:00
duck_
f906c35510 Stop WP_Editor from outputting TinyMCE external plugins/languages multiple times. Props Cyapow. Fixes #19648.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-13 18:05:04 +00:00
azaozz
6b6156b5f4 Add the editor ID and the post type (when available) as classes to the TinyMCE's body, fixes #19437
git-svn-id: http://svn.automattic.com/wordpress/trunk@19912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-13 07:22:45 +00:00
nacin
bfeb575df9 Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 16:12:11 +00:00
nacin
bcf460d02e Translate TinyMCE's spellchecker languages. props SergeyBiryukov, fixes #19962.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 19:13:06 +00:00
azaozz
3a5832e1f2 Update TinyMCE to 3.4.8, fixes #19969, fixes #19936, fixes #19741
git-svn-id: http://svn.automattic.com/wordpress/trunk@19830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 22:23:27 +00:00
ryan
e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
ryan
d1ba11c7d1 Update some @since. Props dgwyer. fixes #19638
git-svn-id: http://svn.automattic.com/wordpress/trunk@19673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:03:33 +00:00
azaozz
0ccbc9acdd Editor: fix invalid nested lists, fix tabbing - Tab goes to Publish/Update, Shift + Tab goes back to Title, fixes #18261
git-svn-id: http://svn.automattic.com/wordpress/trunk@19631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-25 17:27:39 +00:00
azaozz
f8d2a35aaa Make sure editor-buttons.css is loaded even if tiny_mce.js is used directly and the wp_theme skin is selected in the settings, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 21:27:19 +00:00
azaozz
b7bbb13ca5 Changes user_can_richedit() to default to true for logged out users, same as the default for logged in users, fixes #19320
git-svn-id: http://svn.automattic.com/wordpress/trunk@19432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:49:17 +00:00
nacin
a7c296dd47 Move WP_Editor to a _WP_Editors encapsulation.
* WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
 * TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
 * Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().
fixes #19320.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:06:52 +00:00
azaozz
fb79e5e64c Restore back-compat with wp_tiny_mce(), see #19320
git-svn-id: http://svn.automattic.com/wordpress/trunk@19408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:47:01 +00:00
azaozz
44472ebcff Make switchEditors.go() fully back-compat, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 02:44:28 +00:00
azaozz
cc2232068a Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes #18125
git-svn-id: http://svn.automattic.com/wordpress/trunk@19263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 06:15:15 +00:00
azaozz
5869b4d388 More phpdoc for wp_editor(), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 17:46:23 +00:00
azaozz
081076f2e9 Improve handling of init and adding buttons to Quicktags, fixes #19098
git-svn-id: http://svn.automattic.com/wordpress/trunk@19172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 16:00:38 +00:00
azaozz
1fcdc41bdb Output editor-buttons.css earlier so the browser renders the editor in time, fixes #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@19126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:31:27 +00:00
ryan
62afab8db3 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:13:23 +00:00
nacin
43eae59235 Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: http://svn.automattic.com/wordpress/trunk@19028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:04:46 +00:00
azaozz
2d2e825359 Add some more documentation and prevent fatal error if a plugin tries to use 'dfw' second time, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 07:08:55 +00:00
azaozz
3be0b41d68 Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
git-svn-id: http://svn.automattic.com/wordpress/trunk@18828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:59:49 +00:00
azaozz
e076a246fd Fix enqueueing of the right scripts when more than one instance of the editor, fix inserting images in full screen mode, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 07:26:34 +00:00
azaozz
eb8878fbfc Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:43:19 +00:00
duck_
4a6513185a Documentation fixes. See #18560.
- Add missing parameters
 - Add missing @param data types
 - s/format_where/where_format/


git-svn-id: http://svn.automattic.com/wordpress/trunk@18753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 12:02:31 +00:00
azaozz
4b38d0833e Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut "Alt+Shift+M", fix the "image" button in DFW, fixes #17992, fixes #18697, see $17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 00:47:23 +00:00
azaozz
b55485592b Make DFW content width match exactly the reported width from the theme, props helenyhou, fixes #18138
git-svn-id: http://svn.automattic.com/wordpress/trunk@18666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 20:03:28 +00:00
dd32
cb90791f8e Load all Parent theme stylesheets before Child theme stylesheets in the TinyMCE Editor. props SergeyBiryukov. Fixes #18457
git-svn-id: http://svn.automattic.com/wordpress/trunk@18572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 14:56:34 +00:00
dd32
8c51c16803 Only include extra TinyMCE stylesheets once. props SergeyBiryukov. Fixes #18456
git-svn-id: http://svn.automattic.com/wordpress/trunk@18571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 14:47:45 +00:00
azaozz
97ff3b4c7a Fix Press This editors, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 01:14:56 +00:00
azaozz
83c377a8ef WP_Editor: don't show empty div if no editor-buttons and media-buttons are shown, props ocean90, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-07 17:03:18 +00:00
azaozz
d012143326 Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 01:35:02 +00:00
azaozz
042a03f384 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 04:09:22 +00:00
azaozz
f634dd5af4 Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00