Search This Blog

Thursday, June 2, 2011

Switch to the new post editor


An overview of the new post editor


How to enable the new editor


To enable the new editor, first navigate to your blog's Settings | Basic tab. Near the bottom of the page you will see a field called Select Post Editor and from there you simply need to select Updated Editor and save your settings. That's it! Now on to the new features...



Improved Image Handling


When you upload an image to the new post editor it will appear as a thumbnail in the image dialogue box. That way, you can upload several images at once and then add them into your post at your convenience. The thumbnails will be available until you close the post editor.
When you add an image from the dialogue into your post it will be placed at the insertion point instead of at the top of the post.
If you don’t like where an image is in your post, you can drag it around to another spot. If you drag it towards the left side of the editor it will float to the left, likewise for the right and if you leave it in the centre it will be centred. You can drag the image between paragraphs and other block elements. Unlike the current editor, dragging in the new editor preserves the link to the full-size version of the image.
You can easily resize or remove an image with the image size “bubble". Click on the image (Firefox 3 users may need to double-click) to make the bubble appear and resize the image immediately. You can resize any image, including ones added by URL, but if you resize an image that was uploaded through the post editor we re-sample the image on our servers to keep the download size small.
 

Improved Raw HTML


If you use Edit HTML, especially to add tables and other advanced HTML to your posts, you should find that the new editor has a number of enhancements to make the experience less frustrating, or, dare we say it, even pleasant.
By default, the current post editor replaces any newlines in your post with
tags. This can cause problems when you want to use new lines to make the table or list HTML clearer, since the inserted
s will mangle the formatting significantly. The new post editor does not introduce
s within tables, lists, scripts, styles, pre-formatted blocks or objects.

Since they won’t destroy the formatting, the new post editor adds clarity new lines to the HTML generated by Compose mode. For example, if you create a list in Compose mode and then look at it in Edit HTML, you’ll see that there are new lines before each of the <li> tags.
For posts made with the new editor, the blog-level “Convert line breaks” setting (from Settings | Formatting) is ignored. Instead, new line behaviour is controlled by an Edit HTML setting under “Post Options” which affects how new lines and
tags are displayed in the Edit HTML editor. This means that, unlike “Convert line breaks” you can change new line behaviour when it would be useful for a given post without affecting the display of all the other posts on your blog.

We’ve also added a Compose mode setting to let you choose what happens when HTML tags are typed in to the Compose editor. The default, “Interpret typed HTML” matches the current post editor’s behaviour: typing “bold” into the editor would look like this in your post: bold. If you change the setting to “Show HTML literally” instead, you’ll see: bold.
The Edit HTML and Compose settings, along with the choice of whether to show Edit HTML or Compose by default, are saved per-user, per-blog and are updated when you save a post. The Edit HTML setting defaults to the value of the blog’s “Convert line breaks” the first time you open the new editor.

No comments:

Post a Comment