Commit Graph

43 Commits

Author SHA1 Message Date
Andrew Ozz
5c4cff0a29 Editor: fix switching Text to Visual and back if TinyMCE fails to initialise, fixes #23235
git-svn-id: https://develop.svn.wordpress.org/trunk@23790 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 20:43:37 +00:00
Andrew Ozz
f8a254ec56 Autop: <samp> is not a block tag, props toscho, fixes #18807
git-svn-id: https://develop.svn.wordpress.org/trunk@23327 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-22 19:05:21 +00:00
Andrew Ozz
5ad7fe8cd6 Main editor: maintain the height when switching Visual to Text and back, save the height when resizing as user state, output the height in the textarea tag when loading, (thanks @nacin for the help), fixes #21718
git-svn-id: https://develop.svn.wordpress.org/trunk@22007 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 03:30:21 +00:00
Andrew Nacin
5869cbc05a Synchronize block-level elements between the JS and PHP versions of wpautop. props SergeyBiryukov. fixes #18534.
git-svn-id: https://develop.svn.wordpress.org/trunk@21888 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-18 17:32:44 +00:00
Andrew Nacin
db981a3b27 Switch to .min for compressed JS and CSS files.
* This moves our "development" versions from .dev.js to .js (same for css).
 * The compressed version then moves from .js to .min.js (same for css).

By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.

fixes #21633.



git-svn-id: https://develop.svn.wordpress.org/trunk@21592 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 00:04:18 +00:00
bumpbot
93a7eaf328 Compress scripts/styles: 3.4-beta3-20681. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20681 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 01:58:25 +00:00
bumpbot
02e1841cc4 Compress scripts/styles: 3.4-alpha-20175. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20175 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-14 22:00:22 +00:00
Andrew Ozz
70ad3cf297 mode == 'tmce' || mode == 'tinymce', see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19319 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 15:50:01 +00:00
Andrew Ozz
5c6cebe6a4 Make switchEditors.go() fully back-compat, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19316 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 02:44:28 +00:00
Andrew Ozz
3f921df606 Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695, fixes #15911
git-svn-id: https://develop.svn.wordpress.org/trunk@18576 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-20 19:55:51 +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
4c572d1f03 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: https://develop.svn.wordpress.org/trunk@17625 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-10 18:36:05 +00:00
Andrew Ozz
348236aeb7 Remove invalid parent paragraph when pasting in the visual editor or switching visual to HTML and back, keep multiple empty lines in a <pre> tag, fixes #15095 fixes #15367
git-svn-id: https://develop.svn.wordpress.org/trunk@16394 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 23:57:27 +00:00
Andrew Ozz
8a77135845 Autop: add fieldset to blocks, remove support for empty <p> for now, fix block in block problems when switching the editor from visual to html and back, fixes #8644
git-svn-id: https://develop.svn.wordpress.org/trunk@12275 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 09:50:20 +00:00
Andrew Ozz
104abc4a7b When inserting the embed shortcode in TinyMCE replace it with a placeholder image, update the 'wordpress', 'wpeditimage' and 'wpgallery' TinyMCE plugins, fix the audio and video "From URL" tabs in the uploader popup to accept only URLs for embedding, see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12098 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-24 11:43:42 +00:00
Andrew Ozz
c4571d4a60 TinyMCE 3.2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@11974 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 08:33:16 +00:00
Andrew Ozz
687a400776 Hide text while editor is loading, show html editor on error
git-svn-id: https://develop.svn.wordpress.org/trunk@11171 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 10:34:50 +00:00
Andrew Ozz
ac40df7d99 Add <col> to list of block elements, props CharlieHamu and Denis-de-Bernardy, fixes #9484
git-svn-id: https://develop.svn.wordpress.org/trunk@11070 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 08:28:22 +00:00
Andrew Ozz
38fb326258 TinyMCE 3.2.2.3, has several bugfixes
git-svn-id: https://develop.svn.wordpress.org/trunk@10845 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 12:57:25 +00:00
Andrew Ozz
416baab11a Minify all js and add the non-minified files as .dev.js
git-svn-id: https://develop.svn.wordpress.org/trunk@10291 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-02 15:08:58 +00:00
Andrew Ozz
66f7ae27a4 Explicitly declare Javascript vars when created, props projct, fixes #8654, fixes #8655, fixes #8656, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10232 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-19 20:33:44 +00:00
Ryan Boren
baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Andrew Ozz
78b8de31b6 Preview for both drafts and published posts/pages
git-svn-id: https://develop.svn.wordpress.org/trunk@9451 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 22:47:07 +00:00
Andrew Ozz
70443d9dbb Write page styling
git-svn-id: https://develop.svn.wordpress.org/trunk@9384 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 10:59:26 +00:00
Andrew Ozz
24418ce142 Ensure default editor is selected
git-svn-id: https://develop.svn.wordpress.org/trunk@9019 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-28 14:21:00 +00:00
Andrew Ozz
9ed6500c5b Saving/restoring the user interface state, see #7654
git-svn-id: https://develop.svn.wordpress.org/trunk@8784 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-31 06:34:43 +00:00
Andrew Ozz
3e9d31fc8f Reply to comments from admin, first run, see #7435
git-svn-id: https://develop.svn.wordpress.org/trunk@8720 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-24 06:56:22 +00:00
Ryan Boren
2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren
afd113dcf2 Rename wp_caption shortcode to caption. Allow themes to disable captioning. Use dashes instead of underscores in class names. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8313 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 15:59:14 +00:00
Ryan Boren
7dccf2c37c Image caption fixes from azaozz: captions are properly created in tables and in lists, all tags are properly removed when deleting a caption, the align buttons can be used to align the captions. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8260 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 16:38:37 +00:00
Ryan Boren
45ac770299 Image captions from azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8239 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-02 18:41:11 +00:00
Ryan Boren
47ace19b61 Protect the <pre> and <script> tags when switching editors. Props azaozz. fixes #6610 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7716 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:11:21 +00:00
Ryan Boren
35c126a10a Fixing several problems with TiynMCE, triggering of autosave() on an empty post in Safari 3.1, <br> tags in FF, <object> tag may break if switching from Visual to HTML mode and back several times, little cleanup of the compressor and others. Props azaozz. fixes #6384
git-svn-id: https://develop.svn.wordpress.org/trunk@7513 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 03:22:53 +00:00
Ryan Boren
11d8eaae79 Fix pasted html cleanup. Props azaozz. fixes #6346
git-svn-id: https://develop.svn.wordpress.org/trunk@7470 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 08:20:04 +00:00
Ryan Boren
8c0ae81b06 TinyMCE updates from azaozz. fixes #6340
git-svn-id: https://develop.svn.wordpress.org/trunk@7464 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 22:13:03 +00:00
Ryan Boren
271613bd3e TinyMCE fixes from azaozz. fixes #6272
git-svn-id: https://develop.svn.wordpress.org/trunk@7378 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 06:59:53 +00:00
Ryan Boren
875d0265d4 More TinyMCE color abstraction and new border for title and editor. Props azaozz. fixes #6156
git-svn-id: https://develop.svn.wordpress.org/trunk@7240 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 16:54:48 +00:00
Ryan Boren
d1fd6659e4 Added filter for changing the languages selection for the spellchecker, fixed problems with valid_elements and added filter for extended_valid_elements, update to the latest version. Props azaozz. fixes #6111
git-svn-id: https://develop.svn.wordpress.org/trunk@7173 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 19:56:02 +00:00
Ryan Boren
6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren
4d02937e6d max width fixes from azaozz. fixes #6051
git-svn-id: https://develop.svn.wordpress.org/trunk@7114 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 23:27:02 +00:00
Ryan Boren
c693745cbe Editor style fixes for IE6 from mt and azaozz. fixes #6004
git-svn-id: https://develop.svn.wordpress.org/trunk@7034 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-26 07:15:59 +00:00
Ryan Boren
1559aa2d32 TinyMCE 3.01. Props azaozz. fixes #5944
git-svn-id: https://develop.svn.wordpress.org/trunk@6959 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 21:40:25 +00:00
Ryan Boren
bfa0dd639a Move editor js to editor.js. fixes #5799
git-svn-id: https://develop.svn.wordpress.org/trunk@6770 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-09 13:08:28 +00:00