Commit Graph

338 Commits

Author SHA1 Message Date
Andrew Ozz fa570e7b76 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19116 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 15:24:56 +00:00
Andrew Nacin 1287ec492a Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: https://develop.svn.wordpress.org/trunk@19028 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:04:46 +00:00
Mark Jaquith a3bdf19206 Be more consistent with ERROR: messages. fixes #15887
git-svn-id: https://develop.svn.wordpress.org/trunk@18841 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:18:35 +00:00
Andrew Ozz be87523fed Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18766 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 04:43:19 +00:00
Andrew Ozz 945d4500b4 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: https://develop.svn.wordpress.org/trunk@18710 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 00:47:23 +00:00
Andrew Ozz c0f4b1a326 Improve the image drag-resize detection in the visual editor (supported in FF and IE only), remove the size-* class if the image is soft-resized, see #18107
git-svn-id: https://develop.svn.wordpress.org/trunk@18702 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 03:00:13 +00:00
Andrew Ozz 5c2de1a6fc TinyMCE 3.4.5, fixes #18107
git-svn-id: https://develop.svn.wordpress.org/trunk@18660 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 20:08:40 +00:00
Jon Cave 82c0f09c09 Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: https://develop.svn.wordpress.org/trunk@18639 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-05 19:08:15 +00:00
Andrew Ozz dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Ozz aabac42c0f Fix i18n for wp_editor, props SergeyBiryukov, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18518 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-07 16:26:31 +00:00
Andrew Ozz 5b4ac17cc5 Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18503 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 23:56:21 +00:00
Andrew Ozz 461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Ozz 3fff132530 Fix URL in wp-link when editing, props SergeyBiryukov, fixes #18149
git-svn-id: https://develop.svn.wordpress.org/trunk@18474 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-27 23:02:54 +00:00
Andrew Ozz 9bcfc3da39 <!DOCTYPE html> for all, fixes #18202
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Andrew Ozz dc77ebee3a Fix DFW autoresizing in WebKit when zoom != 100%, fixes #17927
git-svn-id: https://develop.svn.wordpress.org/trunk@18379 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 07:33:08 +00:00
Andrew Ozz 131af255ff Add the new TinyMCE icons to two more buttons, fixes #17925
git-svn-id: https://develop.svn.wordpress.org/trunk@18373 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:10:57 +00:00
Andrew Nacin 087ad68a23 Move the sekrit full screen editor width shortcut keys below the common bold/italic/etc keys on the editor keyboard shortcuts help tab. No strings were harmed in the making of this commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@18316 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-16 10:28:29 +00:00
Andrew Ozz e3a1054bef Add context to _e('Name'), props valentinas, fixes #16531
git-svn-id: https://develop.svn.wordpress.org/trunk@18247 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:13:26 +00:00
Andrew Ozz 48951ad388 DFW: show the toolbar only when the mouse is near the top of the window, see #17503
git-svn-id: https://develop.svn.wordpress.org/trunk@18241 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 21:08:49 +00:00
Andrew Ozz 2f3a53166f background-color = transparent, fixes #17726
git-svn-id: https://develop.svn.wordpress.org/trunk@18197 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 17:35:48 +00:00
Andrew Ozz ebd705f0b5 Fix style of the <!--more--> tag replacement image in TinyMCE so it doesn't show horizontal scrollbar in FF and IE.
git-svn-id: https://develop.svn.wordpress.org/trunk@18196 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 17:16:22 +00:00
Daryl Koopersmith d528a78cbe Show post editor inset shadow in visual mode.
git-svn-id: https://develop.svn.wordpress.org/trunk@18180 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 20:29:54 +00:00
Andrew Ozz 9565d6364b DFW: don't prepend comma if content_css is empty, props duck_, fixes #17690
git-svn-id: https://develop.svn.wordpress.org/trunk@18151 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 18:13:15 +00:00
Andrew Ozz 98d58b4edd Fix WebKit browsers reporting document.body height shorter than it is, add classes to TinyMCE's body: 'wp-editor' or 'wp-fullscreen-editor', fix mousemove event in IE, fixes #17664
git-svn-id: https://develop.svn.wordpress.org/trunk@18142 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 00:06:28 +00:00
Andrew Ozz 35ba083b00 DFW: restore editor width shortcuts, restore limited overwriting of the theme styling in TinyMCE, show the toolbar on mouse move in TinyMCE, improve the help, fixes #17503, fixes #17644, fixes #17664, fixes #17596
git-svn-id: https://develop.svn.wordpress.org/trunk@18137 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 00:46:47 +00:00
Andrew Ozz f33bfbb86f Make DFW use the exact same style as the normal editor, remove width resizing in DFW as it would clash with editor-style.css for some themes, fixes #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18103 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:01:29 +00:00
Andrew Ozz 25431a16bb s/Colse/Close/, props nacin, fixes #17399
git-svn-id: https://develop.svn.wordpress.org/trunk@18070 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 05:07:32 +00:00
Andrew Ozz 1596867751 Don't close DFW when closing modal dialogs with Escape key, fixes #17399
git-svn-id: https://develop.svn.wordpress.org/trunk@18069 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 02:04:52 +00:00
Andrew Ozz 69d133d6f0 Fix the spellchecker button for the visual editor.
Fix focusing the editor in IE, props greuben, fixes #17467

git-svn-id: https://develop.svn.wordpress.org/trunk@18066 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-28 16:46:13 +00:00
Andrew Ozz 3db61a5880 Fix regression: the visual editor removes empty paragraphs, fix CSS for the spellchecker button, fixes #17368
git-svn-id: https://develop.svn.wordpress.org/trunk@18064 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-27 19:27:19 +00:00
Andrew Ozz 3a20d6aa17 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: https://develop.svn.wordpress.org/trunk@18027 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 01:04:12 +00:00
Andrew Ozz d9ce44d0eb When viewing Help in DFW, show only the shortcuts tab, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17974 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 18:49:36 +00:00
Andrew Ozz 15a8ad08c9 Add the missing icon to the TinyMCE buttons, props empireoflight, props saracannon, see #15986
git-svn-id: https://develop.svn.wordpress.org/trunk@17972 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 16:26:07 +00:00
Andrew Ozz 0d5e03dd9f Don't show the Fullscreen button on the comment edit page, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17966 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 07:34:54 +00:00
Andrew Ozz d5c0b43145 New sprite for the TinyMCE buttons, props empireoflight, props saracannon, see #15986
git-svn-id: https://develop.svn.wordpress.org/trunk@17961 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 21:10:12 +00:00
Andrew Ozz 89b108095f Fix autosave and word count for DFW HTML editor, always update word count on autosave, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17936 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-16 06:17:44 +00:00
Dion Hulse 017298a40f svn:eol-stle:native (CRLF for licenses) for new files
git-svn-id: https://develop.svn.wordpress.org/trunk@17933 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-15 08:54:32 +00:00
Daryl Koopersmith ea8882117f Add colored hover/active state to tinymce icons. props chexee, empireoflight. fixes #15986.
git-svn-id: https://develop.svn.wordpress.org/trunk@17890 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 03:57:01 +00:00
Andrew Ozz 9b3f26faa4 Improve code for DFW buttons, fix colors in some rare TinyMCE popups, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17880 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 01:53:51 +00:00
Daryl Koopersmith b6debf6cfb Editor toolbar/textarea styling. Props chexee. see #17324, #15986.
git-svn-id: https://develop.svn.wordpress.org/trunk@17868 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 22:28:29 +00:00
Andrew Ozz 6b810b990f DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17852 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-10 23:21:34 +00:00
Andrew Ozz c9761627f9 Lighter background for the TinyMCE buttons, props chexee, see #15986
git-svn-id: https://develop.svn.wordpress.org/trunk@17843 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 03:36:17 +00:00
Andrew Ozz 98d4435ba5 Add the new grey TinyMCE icons, see #15986
git-svn-id: https://develop.svn.wordpress.org/trunk@17842 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 03:20:50 +00:00
Andrew Ozz 13ad310c3f DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17837 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 02:01:53 +00:00
Andrew Ozz 6e8cefd437 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17785 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 08:10:23 +00:00
Andrew Ozz ef5ae46a9d Updated styles for the Visual editor buttons, props chexee, see #15986
git-svn-id: https://develop.svn.wordpress.org/trunk@17768 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 16:08:16 +00:00
Andrew Ozz e74ff4d710 Fix padding in DFW mode, add the new wpfullscreen plugin in wp-tinymce.js.gz, fix notices in press-this see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17697 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 14:27:11 +00:00
Andrew Ozz 07a62334de Distraction Free Writing mode, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00
Andrew Ozz d1e074d29c Fix missing comma in TinyMCE advanced theme image.js, props johnjamesjacoby, fixes #17233
git-svn-id: https://develop.svn.wordpress.org/trunk@17694 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-24 23:27:48 +00:00
Andrew Nacin 66567ad1ab Update wp-tinymce.js.gz and bump. see #16631.
git-svn-id: https://develop.svn.wordpress.org/trunk@17690 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-23 10:44:00 +00:00