Add default buttons of the TinyMCE WSYWIG
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 45/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
調査の方向性
Issue にリンクされている WYSIWYG ドキュメントページから始め、そこに記載されているオプションと、ここで説明されている Directus のデフォルトを比較します。デフォルトのツールバーボタンを記載し、フォント形式と追加の TinyMCE オプションの設定方法を説明します。このページがデフォルトとカスタマイズ例の両方を明確に扱っていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
In https://directus.io/docs/guides/data-model/interfaces#wysiwyg
It would be great that the user had information of what options are currently being displayed by default in said field, in case there's any specific they want to remove, and also to give an idea of how to add extra fields, as it's a bit confusing because the TinyMCE docs and how Directus handles said info is different:
Example
TinyMCE example:
<script>
tinymce.init({
selector: '#editor',
toolbar: 'bold italic underlined | h1 h2 h3 | numlist bullist removeformat blockquote | link image media code | fullscreen',
height: '100px'
});
</script>
How Directus handles it:
{
"toolbar": "bold italic underlined | h1 h2 h3 | numlist bullist removeformat blockquote | link image media code | fullscreen"
}
And, for some reason, also the template given by Directus inside the field configuration is:
{
"font_size_formats": "8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 48pt",
"font_family_formats": "Arial=arial,helvetica,sans-serif; Courier New=courier new,courier,monospace;"
}
Result
Under Options override
The one that Directus currently has by default, and the one that should be shown in the docs is something like:
This is the group of buttons offered by Directus:
"toolbar": "bold italic underlined h1 h2 h3 numlist bullist removeformat blockquote link image media code fullscreen"
Ideally it would also mention other options like font_size_formats, or at least give some information on how to use those fields in Directus.
For example:
- 主要言語
- TypeScript
- スター
- 24
- フォーク
- 90
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 19
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
directus/docs のほかの issue
-
Docs Platform
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 2 日以内に返信
-
llms.txt links agents to /raw/ copies where partials are empty; the inlined .md copies aren't linkedオープン
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
directus/docs#865 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Document required special flags per field type再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
directus/docs#850 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
directus/docs#771 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
content-improvement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
directus/docs#726 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vercel-labs/ui#1066 ·
メンテナーはふだん 1 日以内に返信
-
fix(factory-cockpit): display active agent/actor name instead of verbose step name in run card badgeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ranxianglei/billion-context#7597 ·
メンテナーはふだん 1 日以内に返信
-
documentation target:powerpoint
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
tomast1337/PdfLapas#602 ·
メンテナーはふだん 1 日以内に返信
-
kubernetes-ingestor: fetchCRDMapping() runs even when crossplane.enabled is false, logging a 403 ERROR every run対応中かも @kc9ddi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TeraSky-OSS/backstage-plugins#228 ·