coderedcorp / coderedcorp/coderedcms

Alignment and padding controls for all blocks

オープン
#332 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
Type: Enhancement
主要言語
Python
スター
765
フォーク
154
PR マージ指標
30日以内にマージされた PR はありません

説明

#### Is your feature request related to a problem? Please describe.
Editors frequently need the ability to easily center align or adjust padding of content without using CSS. Considering this is a core part of most word processors and rich text editors (excluding wagtail), this is a big part missing from the editing experience.

#### Describe the solution you'd like
In the common block advanced settings, two toggles, one for alignment, and one for padding. These would work by simply adding the respective bootstrap classes based on user selection, similar to other advanced settings (e.g. column breakpoints).

#### Describe alternatives you've considered
The only real alternative is to add this only within rich text fields, or to add this to select blocks outside of advanced settings. However considering the ubiquity of alignment and padding, it makes sense to be added globally to all blocks.

#### Additional context
The default values of each should be unset, so as not to effect existing sites or default/global styles.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

ファイルやテストは指定されていません。まず、共通ブロックの高度な設定の実装と既存のカラムブレークポイント制御を見つけ、選択された Bootstrap クラスがどのように保存され、レンダリングされるかを追跡します。完了条件は、配置とパディングのオプションがすべてのブロックに適用され、デフォルトでは未設定のままで、既存のサイトやデフォルトスタイルに影響を与えないことです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
bootstrap, django, python
領域
content, frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。