Modify paragraph formatting plugin “PS Disable Auto Formatting”

- English
- Japanese
Description
If you are annoying by the habit of the WordPress automatic formatting, try this plugin.
PS Disable Auto Formatting stops automatic formatting of WordPress (wpautop), and modifies the html source generated by the visual editor.
This plugin stops automatic formatting of WordPress (wpautop), and modifies the html source generated by the visual editor.
When editing it in the HTML mode, it stops unintended removal of br tag and p tag , either addition of p tag.
And when editing in the visual mode, it achieves to generate natural changing line and paragraph that you will intend.
Functions
- Disable the auto formating in the each areas of post, comment, excerpt, terms description.
- Stops the auto removal of p and br tag when editing html mode.
- Batch formatting to all articles that you have already posted.
Requires WordPress Version
2.5 or higher
Download
Download (22.5KB)
Install
- Please download from link above
- Unzip the downloaded package and upload into your WordPress plugins directory.
If you use WordPress 2.7 or later, you can install from admin page. - Go to plugins list and activate “PS Disable Auto Formatting”.
Usage
After install, a managing page of automatic forming is added to config list.
The default setting stops only the automatic formating of the post.
Change and submit the settings of each areas if necessary.
Batch formatting for past posts
Batch formatting is a function for the past posts posted before use this plugin. You do not have to use it if there are no post.
When you activate this plugin, there will be no changing line and paragraph in the past posts because auto formatting of WordPress has stopped.
To solve this problem, this function does the batch processing to the article within the specified range.
(Before use this function, reserve the [backup of the data base](http://codex.wordpress.org/Backing_Up_Your_Database “backup of the data base”) is recommended.)
FAQ
- When is this plugin effective?
For example, it will be effective in case use HTML mode every time, and when copy from existing HTML files.
It also comes to be able to post consecutive changing line.- I do not understand whether which area to be stop batch formatting.
Try to stop the area where the visual editor is used.
- Can the setting change and the batch formatting function be done at the same time?
No.
When “change setting” button is pushed, the setting is changed.
When “Batch formatting” button is pushed, the batch plastic operation is done. The setting is not changed.- It displays as “It is necessary to permit the batch formatting” and cannot do the batch formatting.
To prevent the operational error, the batch processing is not done if there is no permission.
Please check “Permit batch formatting” check box.
Version History
- 1.0.3
(2009.8.11) -
- compatible with WordPress version 2.8 (bugfix : post area is whiteouted when switching visual to html mode in version 2.8)
- 0.9.2
(2009.1.21) -
- bugfix : disappearing nothing included paragraph and linebreak element when load a post to edit
- bugfix : wrong javascript path in case of WordPress is set as sub directory.
- bugfix : in version 2.6 or 2.5, javascript isn’t replaced.
- 0.9.1
(2009.1.20) -
- bugfix : disappearing paragraph element with swithing mode in some browsers
- compatible with quickpress
- 0.9.0
(2009.1.13) -
- Public release
Contact
If you have any request, question, feedback or found a bug, please contact us from comment form below.
- English
- Japanese
プラグイン概要
PS Disable Auto Formattingは、WordPressの段落自動整形(wpautop)を停止させると共に、ビジュアルエディタが生成するhtmlソースを改変。HTMLモードでの編集時に、意図しないbrタグ、pタグの除去、pタグの付加が発生しないようにすると共に、ビジュアルモード編集時における意図した通りの自然な改行・段落の生成を実現します。
機能
- 投稿・コメント・抜粋・説明、各エリア毎の自動整形停止
- HTMLモード利用時のp, brタグ除去回避
- 作成済み記事に対する一括整形処理
動作環境
2.5以上
ダウンロード
ダウンロード (22.5KB)
インストール方法
- 上記よりダウンロードしてください。
- 解凍して、WordPressのプラグインディレクトリにアップロードします。
もしくは、バージョン2.7以上であれば、管理画面のプラグイン > 新規追加 より、インストールをすることも可能です。 - プラグイン > インストール済み のリストからPS Disable Auto Formattingを有効にしてください。
ご利用方法

インストールが完了すると、設定項目の中に自動整形という設定ページが追加されます。
デフォルトの設定は、投稿の自動整形のみ停止するようになっています。必要に応じて各エリアの設定を変更し保存してください。
一括整形機能
一括整形機能は、本プラグインを利用する前に作成した記事が存在する場合に対する機能です。作成済みの記事が存在しない場合は使用する必要はありません。
本プラグインの利用により自動整形が停止されると段落や改行の付加が行われなくなるため、作成済みの記事は段落・改行がない状態となってしまいます。これを是正するため、最終の編集が指定時刻前に行われている投稿・ページに対し、一括で段落・改行を付加するのが本機能です。
※ 一括整形機能を利用される場合には、バックアップ機能を持ったプラグイン等でデータベースのバックアップと取っておくことをおすすめいたします。
よくある質問
- このプラグインはどんな時に有効ですか?
HTMLモードでの編集を行うことが多い方や、存在するHTMLのソースを直接ペーストするような場合に特に有効です。その他、連続改行なども行えるようになります。
- どのエリアの整形を停止すれば良いかわかりません。
基本的にはビジュアルエディタを利用しているエリアの整形を停止していただくのが良いでしょう。
- プラグインの設定変更と一括整形機能は同時に行えますか?
いいえ。
変更を保存ボタンを押すと各エリアの整形設定が変更されます。一括整形ボタンを押した場合には、一括整形機能のみが実行され、設定はチェックの状態に関わらず変更されません。- “一括処理の許可が必要です。”と表示され、一括処理が行えません。
間違って一括処理ボタンを押してしまって場合の安全性を考慮して、一括処理を許可がチェックされていなかった場合には、処理を行わないようになっています。
少々面倒でも、一括処理を許可した上で処理を行うようにしてください。
更新履歴
- 1.0.3
(2009.8.11) -
- 2.8系で編集モードをhtmlに切り替えた際、テキストが見えなくなる不具合を修正
- 0.9.2
(2009.1.21) -
- 編集時に空段落、改行タグが消える不具合を解消
- WordPressがサブディレクトリに設置された場合にjavascriptのパスが正しく出力されない不具合を解消
- WordPress2.5および2.6において、javascriptが差し替えられていなかった不具合を解消
- 0.9.1
(2009.1.20) -
- いくかのブラウザにおいて、編集モードの変更時にPタグが消滅する現象を解消
- クイックプレスへの対応
- 0.9.0
(2009.1.13) -
- 一般公開
ご質問・ご感想等
不具合・ご質問・ご要望や感想などありましたら、コメントフォームよりお寄せください。
※ 不具合の報告は、サーバOS、PHPのバージョン、WordPressのバージョン、併用しているプラグイン、ブラウザ名およびバージョンなどを併記いただけると助かります。
Comments
Trackback URL
コメント by zen
2009 年 1 月 17 日 @ AM 11:47
コメント by 大曲
2009 年 1 月 19 日 @ AM 11:31
コメント by zen
2009 年 1 月 20 日 @ AM 12:51
コメント by zen
2009 年 1 月 20 日 @ AM 12:55
コメント by zen
2009 年 1 月 20 日 @ AM 1:03
コメント by 大曲
2009 年 1 月 20 日 @ AM 10:48
コメント by 匿名
2009 年 1 月 20 日 @ PM 7:04
コメント by 大曲
2009 年 1 月 20 日 @ PM 8:33
コメント by 匿名
2009 年 1 月 21 日 @ AM 12:09
コメント by 匿名
2009 年 1 月 21 日 @ AM 12:52
コメント by 匿名
2009 年 1 月 21 日 @ AM 1:07
コメント by zen
2009 年 1 月 21 日 @ AM 8:00
コメント by 大曲
2009 年 1 月 21 日 @ AM 9:57
コメント by 大曲
2009 年 1 月 21 日 @ AM 9:59
コメント by zen
2009 年 1 月 23 日 @ PM 3:54
ピンバック by WordPressで自動整形しない - Raw HTML capabilityプラグイン >> 病的溺愛シンドローム
2009 年 2 月 17 日 @ AM 12:54
コメント by Ray
2009 年 2 月 21 日 @ AM 9:54
ピンバック by Blue Skies - Wordpressを使っていて思ったこと
2009 年 2 月 26 日 @ PM 8:08
コメント by Hitoshi Omagari
2009 年 2 月 26 日 @ PM 9:17
ピンバック by Een lijst met mijn 27 favoriete WordPress plugins - Hiranthi’s weblog
2009 年 3 月 9 日 @ AM 12:07
ピンバック by アフィリエイトから始めるネットビジネス攻略ドットコム
2009 年 4 月 6 日 @ PM 8:56
コメント by buy levitra
2009 年 4 月 7 日 @ PM 7:37
コメント by 匿名
2009 年 5 月 22 日 @ AM 1:23
ピンバック by sprust » Blog Archive » WordPressの改行プラグイン
2009 年 6 月 15 日 @ PM 1:05