Snow Monkey Editor

説明

Snow Monkey エディターは、ブロックエディターを拡張するプラグインです。

GitHub: https://github.com/inc2734/snow-monkey-editor/

書式設定

ツールバーの Snow Monkey ボタンをクリックします。

  • テキストバッジ
  • テキスト背景色
  • フォントサイズ
  • 蛍光ペン
  • テキストカラー
  • テキストの文字間隔
  • 書式設定のクリア

拡張機能

インスペクターで設定できます。

  • スマートフォンサイズ、タブレットサイズ、またはPCサイズで非表示にします (メディアクエリを使用)。
  • ユーザー権限グループごとに非表示にします。 (render_block フィルターフックを使用します。このフィルターを通過しない場合は、無視されます。)
  • スクロールアニメーション
  • 公開設定
  • 公開終了設定
  • ロールによる編集ロック(管理者のみ設定できます)

Block presets

This feature allows you to save the settings of a block and set them for other blocks of the same type at the touch of a button.

(The number of blocks/attributes that can be used by the block preset feature is limited by default.)

ブロックスタイル

段落ブロック、グループブロック、画像ブロックなどで使用できます。

  • アラート
  • アラート (備考)
  • アラート (サクセス)
  • アラート (ワーニング)
  • 流体シェイプ
  • 付箋
  • 付箋 (細)
  • 影付き
  • Speech (Top)
  • Speech (Right)
  • Speech (Bottom)
  • Speech (Left)
  • リスト(矢印)
  • リスト(チェック)
  • リスト(備考)
  • リスト(×マーク)
  • 序列リスト (丸形)
  • 序列リスト (四角型)

フィルターフック (JavaScript)

SnowMonkeyEditor.extension.allowedNameSpaces

JavaScript

import { addFilter } from '@wordpress/hooks';

addFilter(
  'SnowMonkeyEditor.extension.allowedNameSpaces',
  'snow-monkey-blocks/apply-snow-monkey-editor-extensions',
  ( allowedNameSpaces, extensionName ) => {
    return [
      ...allowedNameSpaces,
      'snow-monkey-blocks',
    ];
  }
);

PHP

add_action(
    'admin_enqueue_scripts',
    function() {
        $data = "wp.hooks.addFilter(
            'SnowMonkeyEditor.extension.allowedNameSpaces',
            'snow-monkey-blocks/apply-snow-monkey-editor-extensions',
            ( allowedNameSpaces, extensionName ) => {
                return [
                    ...allowedNameSpaces,
                    'snow-monkey-blocks',
                ];
            }
        );";
        wp_add_inline_script(
            'snow-monkey-editor@editor',
            $data
        );
    }
);

SnowMonkeyEditor.extension.allowedRoles

JavaScript

import { addFilter } from '@wordpress/hooks';

addFilter(
  'SnowMonkeyEditor.extension.allowedRoles',
  'snow-monkey-blocks/apply-snow-monkey-editor-extensions',
  ( allowedNameSpaces, extensionName ) => {
    return [ 'administrator' ];
  }
);

PHP

add_action(
    'admin_enqueue_scripts',
    function() {
        $data = "wp.hooks.addFilter(
            'SnowMonkeyEditor.extension.allowedRoles',
            'snow-monkey-blocks/apply-snow-monkey-editor-extensions',
            ( allowedRoles, extensionName ) => {
                return [ 'administrator' ];
            }
        );";
        wp_add_inline_script(
            'snow-monkey-editor@editor',
            $data
        );
    }
);

スクリーンショット

  • テキストバッジ
  • テキスト背景色
  • フォントサイズ
  • テキストの文字間隔
  • 蛍光ペン
  • テキストカラー
  • スマートフォンサイズ、タブレットサイズ、またはPCサイズで非表示にします。
  • ユーザー権限グループごとに非表示にします。
  • スクロールアニメーション設定
  • 公開設定
  • 公開終了設定
  • ロールによる編集ロック
  • アラート
  • アラート (備考)
  • アラート (サクセス)
  • アラート (ワーニング)
  • 流体シェイプ 1
  • 流体シェイプ 2
  • 流体シェイプ 3
  • 付箋
  • 付箋 (細)
  • 影付き画像
  • 影付きボタン
  • 吹きだし
  • リスト(矢印)
  • リスト(チェック)
  • リスト(備考)
  • リスト(×マーク)

インストール

このプラグインは、あなたのサイトから直接インストールできます。

  1. ログインして「プラグイン」 「新規追加」に移動します。
  2. 検索に「Snow Monkey Editor」と入力し、Enter キーを押します。
  3. 検索結果のリストで Snow Monkey Editor プラグインを見つけ、「今すぐインストール」をクリックします。
  4. インストールしたら、「有効化」ボタンをクリックします。

FAQ

Snow Monkey Editor はどのテーマでも使用できますか ?

はい ! Snow Monkey エディターはどのテーマでも使用できますが、最高のプレゼンテーションのために Snow Monkey テーマを使用することをお勧めします。

評価

2022年4月14日
The plugin is a good idea and adds a lot of additional features, styles and visibility controls to many Gutenberg elements. But it slows down the editor significantly. Each click into the paragraph editor or each new line takes a second longer (you can see the delay each time) which makes it a very frustrating editing experience. For example clicking between paragraphs adds at least a 1 second delay - so you feel like you're working on a 90s computer. I presume it's because all the additional styles and options are being loaded. Guess it's the price you need to pay for additional features - unless the author finds a way to speed things up (delayed loading, parallel loading etc).
2021年3月7日
Very useful for block editor users! Must install!
5件のレビューをすべて表示

貢献者と開発者

Snow Monkey Editor はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Snow Monkey Editor” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Snow Monkey Editor” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

9.3.3

  • The width of the format popover is now the same as the width of the popover in the block settings panel.
  • Fixed a bug that caused the popover to move to the upper left corner of the screen when formatting unformatted text.

9.3.1

  • Fix for JavaScript alert message.

9.3.0

  • Set defer attribute to wp_enqueue_script().

9.2.5

  • Fixed a bug that blocks with display settings by window size may switch display at unintended timing.

9.2.4

  • Fix PHP fatal error.

9.2.3

  • Fix PHP fatal error.

9.2.2

  • Fixed a bug that caused a blank screen in the post editor for custom post types with their own permissions set.

9.2.1

  • Changed the display position of the presets and extensions settings panel to the bottom.

9.2.0

  • Fixed a bug that could cause text to disappear when a preset is applied to a paragraph block.
  • Update CSS.
  • Add block styles. “Speech (Left)”, “Speech (Top)” and “Speech (Right)”.
  • Change Popover.isAlternate to Popover.variant.

9.1.2

  • Fix PHP Warning error.
  • Fixed a bug that broke blocks when selecting colors defined in CSS vars in the highlighter.
  • Update badge style.

9.1.1

  • Fixed a bug that block was broken when changing the block style with a user belonging to a custom role.
  • Fixed a bug that when the font size format picker was opened with the font size format already set, the set font size was sometimes not selected.

9.1.0

  • Add block presets feature.

9.0.3

  • Fixed a bug that the extension panel of “Snow Monkey Editor” displayed an empty panel even for blocks that did not need it.

9.0.2

  • Update the extension panel UI.

9.0.1

  • Added reset button to font size format.
  • Fixed a bug that popover sometimes jumps to the upper left corner of the screen when setting colors in text color, background color, highlighter, and badge.
  • Changed Popover to close when letter spacing, line height, and fon tsize are reset.

9.0.0

  • Requires WordPress 6.1 or later.
  • Updated the display to make it easier to see the display restrictions by role on the editor.
  • Fixed a bug where margins were not given inside the formatting popover for non-Snow Monkey themes.

8.0.2

  • Fixed that the picker closes when a number is crossed out or 0 is entered for font size, letter spacing, and line height.

8.0.1

  • Fix PHP error.

8.0.0

  • Requires WordPress 6.0 or later.
  • Changed font-size and line-height format display from inline-block to inline in the list.
  • Changed so that extensions settings are not displayed in the classic block.
  • Fixed a bug that the icons displayed on the block toolbar did not reflect the proper color when formatting was applied.

7.0.1

  • Update sass-basis@17.0.0

7.0.0

  • Requires WordPress 5.9 or later.
  • End of support for ie11.
  • Changes due to changes in WordPress 5.9.

6.2.1

  • Fixed a bug that prevented setting a custom value for font size.

6.2.0

  • Fixed a bug that selecting a font size would not add the class, but px value.
  • Changed so that rem is not added to the unit when line-height is set.
  • Changed .sme-font-size and .sme-line-height to inline-block.

6.1.0

  • Add block styles for code block. “No wrap” and “Wrap”.

6.0.1

  • If you set “hidden-by-size”, the target block is translucent on editor when the editor is at that size.
  • Change the “hidden-by-role” setting so that your role cannot be set. (Except for administrator)

6.0.0

  • Compatible with WordPress 5.8. 5.7 is not supported.

5.0.6

  • メディアとテキストブロックのブロックスタイル「流体シェイプ」が反映されない不具合を修正。

5.0.5

  • sass-basis のアップデート

5.0.4

  • Snow Monkey Blocks プラグインのブロックが使用できない不具合を修正。

5.0.3

  • 他のプラグインとの併用時に、連続して保存されることがある不具合を修正。

5.0.2

  • 各書式設定でリセットやクリアをしたときに、ポップオーバーが消えずに画面左上に飛ぶ不具合を修正。

5.0.1

  • 文字サイズのプリセットを設定した状態でリサイズすると、文字サイズが1から始まってしまう不具合を修正。

5.0.0

  • WordPress 5.7 に対応するアップデート。

4.1.0

  • line-height の書式を追加。
  • WordPress 5.6.2 で文字サイズの設定が正しく動作しない不具合を修正。

4.0.1

  • 日付時間設定の拡張機能が表示されない不具合を修正。

4.0.0

  • WordPress 5.6 に対応。
  • アニメーションの遅延設定を追加。
  • アニメーション速度の設定を追加。
  • テキストの文字間隔の書式を追加。

3.0.5

  • フロントエンドの wp-polyfill を削除。

3.0.4

  • 書式のカラーピッカーのバグを修正。

3.0.3

  • 書式ごとにカスタムカラーの入力や変更ができない不具合を修正。

3.0.2

  • エディターでのブロックスタイル CSS のバグを修正。

3.0.1

  • バグの修正。

3.0.0

  • WordPress 必須バージョン 5.5

2.1.2

  • 流体シェイプを適用するとキャプションが隠れる不具合を修正。

2.1.1

  • .sme-hidden-xxx のスタイルを display: none を使用するように変更。

2.1.0

  • フェード・イン・ダウンのアニメーションを追加。

2.0.0

  • WordPress 5.4 対応

1.1.0

  • フェードイン・アップのアニメーションを追加。
  • フィルターフックを追加 SnowMonkeyEditor.extension.allowedRoles

1.0.0

  • 拡張機能(表示設定、編集ロック設定等のインスペクターに追加される機能)は、コアブロックと Snow Monkey Blocks だけに適用されるように変更。
  • フィルターフックを追加 SnowMonkeyEditor.extension.allowedNameSpaces

0.8.2

  • PHP Notice エラーがでることがある不具合を修正。

0.8.1

  • 序列リスト (四角) ブロックスタイルに、「番号付きリストの設定」が反映されない不具合を修正。

0.8.0

  • 序列リスト用のブロックスタイルを追加。

0.7.0

  • 影付きボタンブロックスタイルを追加。
  • ブラウザリストを更新。 @wordpress/browserslist-config を使用

0.6.1

  • リストブロックのブロックスタイルを追加。

0.6.0

  • リストブロックのブロックスタイルを追加。

0.5.4

  • 拡張パネルの猿アイコンの色を変更。

0.5.3

  • ポップオーバーでカスタムカラーを選択すると、カスタムカラーポップオーバーが閉じるバグを修正。

0.5.2

  • 段落を削除するとポップオーバーが表示されるバグを修正。

0.5.1

  • フォーマットのカスタムカラーを選択するとブロックが壊れるバグを修正。

0.5.0

  • スクロールアニメーションを設定する拡張機能を追加。
  • 公開/非公開設定のバグを修正。 再設定が必要です。
  • ダイナミックブロックが表示されないバグを修正。

0.4.1

  • 拡張のエフェクトによってブロックが壊れる可能性があるバグを修正。

0.4.0

  • 各ブロックに公開日時を設定する拡張機能を追加。
  • 各ブロックに非公開日時(公開終了)を設定する拡張機能を追加。
  • ブロックが拡張機能を有効にしている場合、拡張機能アイコンに色が付きます。
  • 編集ロック機能で選択できる権限グループは、edit_posts 権限を持つ権限グループに制限されています。

0.3.0

  • ユーザー権限グループによるブロックの編集ロックを設定する拡張機能を追加。

0.2.4

  • フォーマットポップオーバーの表示条件を変更。

0.2.3

  • ブロックが壊れる可能性のあるバグを修正。
  • 吹き出しブロックのスタイルデザインを修正。

0.2.2

  • 吹き出しブロックのスタイルデザインを修正。

0.2.1

  • 追加の CSS クラスが編集できないバグを修正。

0.2.0

  • ユーザー権限グループによって非表示にする拡張機能を追加。

0.1.0

  • 初回リリース。