WordPressãã©ã°ã¤ã³ãEditor Bridge (ã¨ãã£ã¿ããªãã¸) ãã¯ãããã©ã«ãã®ãããã¯ã¨ãã£ã¿ãæ¡å¼µãããã©ã°ã¤ã³ã§ãã
ããã©ã«ããããã¯ã®æ©è½ãæ¡å¼µãããããã©ã¼ããããã¹ã¿ã¤ã«ã追å ãã¦ã¿ã¾ãããã©ã®ãããªãã¨ãã§ãããã確èªã§ãããµã³ãã«ãã¼ã¸ãä½ãã¾ããã®ã§ããã¡ãããã£ããè¦ã¦ã¿ã¦ãã ããã
WordPressãã©ã°ã¤ã³ãEditor Bridgeãã§ãã§ãããã¨ã¯å¤§ãã3ã¤ã
1ã¤ç®ã¯ãããã©ã«ããããã¯ã®æ©è½ã横æçã«æ¡å¼µãã¾ãã ããã©ã«ããããã¯ã«èæ¯ç»åãæ ç· (ãã¼ãã¼) ãä»ãããããã¼ã¸ã³ãããã£ã³ã°ãªã©ä½ç½ (ã¹ãã¼ã¹) ãè¨å®ã§ãã¾ããã¾ããã¿ã³ã®ãµã¤ãºãå¹
ãªã©å種è¨å®ãã§ããããã«è¨å®ããã«ã«è¿½å ãã¦ãã¾ãã
対å¿ãã¦ãããããã¯ã¯ä»¥ä¸ã®éãã
- Background image (èæ¯ç»å)
- core/heading
- core/paragraph
- core/column
- core/columns
- core/group
- Border (æ ç·)
- core/heading
- core/paragraph
- core/group
- Button size and width (ãã¿ã³ã®å¤§ããã¨å¹
ãµã¤ãº)
- Space, Margin (upper margin as default) and Padding (ã¹ãã¼ã¹)
- core/heading
- core/paragraph
- core/image
- core/button (only Margin)
- core/buttons
- core/media-text (only Margin)
- core/gallery (only Margin)
- core/list (only Margin)
- core/table (only Margin)
- core/columns
- core/column (only Padding)
- core/group
- core/cover
2ã¤ç®ã¯ãè¦åºãã段è½ãªã©æåãå
¥åããã¨ããã«ä½¿ããã RichText Component ã«ãã©ã¼ãããã追å ãæåã®å¤§ããã太ããå¤ããããæåãè£
飾ãã強調ãããã¸ã使ãã¾ãã
ããã¸ã¯ã¡ãã£ã¨ããã¢ã¯ã»ã³ãç¨ã®ããã¹ãè£
飾ã«ã強調ã¯æç« ã®ä¸é¨ã強調ã§ãã¾ãããããã¯ã«ã¹ã¿ã¤ã«ãããããã«ããã©ã¼ãããã«ãã¹ã¿ã¤ã«ãé¸ã¹ãããã«ãã¦ã¿ã¾ããã
- Badge (ããã¸)
- Default (ããã©ã«ã)
- Round Corner (è§ä¸¸)
- Round (åå½¢)
- Outline (ã¢ã¦ãã©ã¤ã³)
- Status (ã¹ãã¤ã¿ã¹)
- Perfect Circle (æ£å)
- Font size (ãã©ã³ãã®ãµã¤ãº)
- Font weight (ãã©ã³ãã®å¤ªã)
- Highlight (強調)
- Highlight (強調)
- Marker (ãã¼ã«ã¼)
- Underline (ã¢ã³ãã¼ã©ã¤ã³)
3ã¤ç®ã¯ããããã¯ã«ã¹ã¿ã¤ã«ã追å ã
ãã使ããããã¯5ã¤ã»ã©ã«ã¹ã¿ã¤ã«ã追å ãã¦ãã¾ããå¿ç¨çãªæ´»ç¨æ¹æ³ã¨ãã¦ãã¾ãã¹ã¿ã¤ã«ãè¨å®ãã¦ã次ã«æ¡å¼µæ©è½ã®ããã£ã³ã°ã§ä½ç½ãã©ã³ã¹ãæ´ãããããããã¯ã®æ¡å¼µæ©è½ãçµã¿åããã¦ã¹ã¿ã¤ã«ã«æè»æ§ããããããã¨ãã§ãã¾ãã
- Button block (ãã¿ã³)
- Triangle Icon (ä¸è§ã¢ã¤ã³ã³)
- Blur (ã¼ãã)
- Shadow (ã·ã£ãã¦)
- Expansion (è¨å¼µ)
- Emboss (ã¨ã³ãã¹)
- Heading block (è¦åºã)
- Underline (ã¢ã³ãã¼ã©ã¤ã³)
- Thick Underline (太ãã®ã¢ã³ãã¼ã©ã¤ã³)
- Two Color Underline (2è²ã¢ã³ãã¼ã©ã¤ã³)
- Up Down Line (ä¸ä¸ç·)
- Accent Line (強調ç·)
- Kebab Line (横串ç·)
- Single Box (å²ã¿ç·)
- Double Box (2éå²ã¿ç·)
- Left Accent Line (å·¦ã©ã¤ã³ã¢ã¯ã»ã³ã)
- Gradation Line (ã°ã©ãã¼ã·ã§ã³
- Stripe Line (ã¹ãã©ã¤ã)
- Cross Box (交ããå²ã¿ç·)
- Brackets (ã«ãã³)
- Japanese quotation marks (æ¥æ¬èªã®å¼ç¨ç¬¦)
- Image block (ç»å)
- Round Corner (è§ä¸¸)
- Frame (ãã¬ã¼ã )
- Shadow (ã·ã£ãã¦)
- Separator block (åºåãç·)
- Thick line (太ç·)
- Dotted (ç¹ç·)
- Shadow (ã·ã£ãã¦)
- Circle Mark (åãã¼ã¯)
- Table block (ãã¼ãã«)
- No Style (ã¹ã¿ã¤ã«ãªã)
- Underline (ã¢ã³ãã¼ã©ã¤ã³)
- Dashed (ç ´ç·)
- Round Corner (è§ä¸¸)
ãã©ã°ã¤ã³å½åã«æ©ã
ä»åWordPressãã©ã°ã¤ã³ãEditor Bridgeããå
¬å¼ãã£ã¬ã¯ããªã«ç»é²ããã«ãããç´åã«ãã©ã°ã¤ã³åãå¤æ´ãã¾ããã
çç±ã¯ãããã¸ã§ã¯ãåãgutenbergãããã©ã°ã¤ã³åã«å«ã¾ãã¦ãããã¨ã«ã¤ãã¦ã§ãã å«ã¾ãã¦ããã¨è¡¨ç¤ºå (å¾ã§å¤ãããã) ã¨ãã¼ããªã³ã¯ (å¾ã§å¤ããããªã) ã«ãå«ã¾ããããã§ãããã©ã°ã¤ã³ã®ç»é²ç³è«ããã¨ãä¸æ¦ç¢ºèªã®ã¡ã¼ã«ãå±ãã¾ãã
ãã®ã¡ã¼ã«å
容ã«ã¯ãä¸è¨ã®çç±ã¨ãªã¹ã¯ãæ¸ãã¦ãããæ£å¼ã¨ãã£ã¿ã¯ãWordPressã¨ãã£ã¿ã¨ã¯ã©ã·ãã¯ã¨ãã£ã¿ãªã®ã§ããgutenbergãããã¸ã§ã¯ãåã¯æéãçµã¦ã°å¿ãå»ããããã³ã¼ããã¼ã çãªæ±ãã§ããã
ãã®ã¨ãã«ãã®ã¾ã¾ç»é²ãé²ãã¦ããã®ãããã¼ããªã³ã¯ãå¤æ´ãããªã©ä½ã対å¿ããå¿
è¦ãããã®ã決ãã¦è¿ä¿¡ããã¨ã¬ãã¥ã¼ãéå§ããã¾ããã¤ã¾ãã¯ã³ã¹ããã追å ããå½¢ã§ãã©ã°ã¤ã³ã®ã¬ãã¥ã¼ãé²ãããã¾ãã
ãã¨ãã¨ã¯ãGuten Plusãã¨ãããã©ã°ã¤ã³åã§ãããããã®åã«ããGuten Bridgeãã¨ä»ãã¦ãã¾ããã®ã§ãå®ã¯2åãã®ãã©ã°ã¤ã³åãå¤æ´ã§ããã
ãGuten Bridgeãã®ã¨ãã¯ãéçºãã¦ããéä¸ã«ä»ã«ååã®ããã¸ã§ã¯ããåºã¦ããã®ã§ããGuten Plusãã«å¤ããã®ã§ããããã
ä»å¾ã¯ãã¨ããããã³ã¼ããã¼ã çã«ååãã¤ãã¦éçºãé²ããã»ãããããããããªããªãã¨æãã¤ã¤ããã¤ããã©ã°ã¤ã³å½åã«é ãæ©ã¾ããã¦ãã¾ãã
2転3転ãã¦ä½åº¦ãå¿ãæãããéçº
ä»åã®éçºããWordPressãã©ã°ã¤ã³ãEditor Bridgeãã¯ã ãã¶é£èªãã¾ããã
ãã©ã°ã¤ã³ã®æ§æ³èªä½ã¯ãWordPressãã¼ã¸ã§ã³ 5.0 ãªãªã¼ã¹ç´åã«ã¡ããã¡ãããããã¯ã®ä½ãæ¹ãå¦ã³ã¤ã¤é²ãã¦ãã¾ããã
ãã®ä¸ã§ãã¡ã°ãå®ç¾ãããã£ããã¨ã¯ãã¹ãã¼ã¹ã®è¨å®ããããã¯ã«ãã¼ã¸ã³ (margin) ã¨ããã£ã³ã° (padding) ãããæãã«ã¤ãããããã¤ã¤ãªãã¨ãã¬ã¤ã¢ã¦ãã«å¤åããããããã®ã«ãªãã°ãªãã¨ã
ãããããã¯å®¹æãªãã¨ã§ã¯ããã¾ããã§ãããç¹ã«ããã³ãé¨åã¨ã¨ãã£ã¿é¨åã®æ´åæ§ã調æ´ããã¨ããã
ãããã¯ã¨ãã£ã¿ã¯ã2018å¹´12æ6æ¥ã«WordPress (v 5.0) ã®æ¨æºã¨ãã£ã¿ã¨ãã¦æè¼ããã¦ãããããã¯ã¨ãã£ã¿èªä½ãã¾ã ã¾ã çºå±éä¸ã§æ©è½è¿½å ãããããæ¹è¯ãããã¾ãããã®ãã³ã«ä»æ§ãå¤æ´ããã¦ãã¾ãã¾ãã
åæã®é ã®ãããã¯ã¨ãã£ã¿ã¯ãã¨ã«ããã¨ãã£ã¿é¨åã®DOM (Document Object Model) æ§é ãè¤éããã¦ãä½ã£ã¦ãCSSã»ã¬ã¯ã¿ãå
¥ãåã®é£ç¶ã ã£ãããè¨å®æ¬¡ç¬¬ã§ã¬ã¤ã¤ã¼ãä¸ã¤å¢ããããã¦DOMæ§é ãåçã«å¤ããã¾ããããã¨ãããããã¨ã«å¯¾å¿ããã«ã¯è¤éã«ãªãããã¦æ´åæ§ãå
¨ãåãã¾ããã§ãããå¤æ´å®¹ææ§ãä¿å®æ§ã確ä¿ã§ããªããªãã®ãç®ã«è¦ãã¦æ«æããã
ã¢ãããã¼ãã®ãã³ã«å¤§å¹
ã«DOMæ§é ãå¤ããã¨ãããããããªããªãå®å®ãã¾ããããã¼ã¸ã§ã³5.4 ãããããããããDOMæ§é ãç´ ç´ã«ãªãã¤ã¤ããæãåºã¦ãã¾ãããããã³ãé¨åã¨ã¨ãã£ã¿é¨åã®æ´åæ§ãã¨ãããããªæ触ãæ´ãã ã®ã§ãå½¢ã«ãã¦ãããã®ã§ã¯ãªããã¨ãããã¦ãªãªã¼ã¹ã«ããã¤ãã¾ããã
ä»å¾ã®å±æ
WordPressãã©ã°ã¤ã³ãEditor Bridgeãã¯ç¹å®ã®ãã¼ãã«ä¾åããå½¢ã§ã¯ãªãããªãã¹ããããã¯ã¨ãã£ã¿ã«å¯¾å¿ããããããªãã¼ãã§ä½¿ããããã«ããããªãã¨èãã¦ãã¾ãã
ä¸çªã®èª²é¡ã¯ããã¼ãããããã«ãã¼ã¸ã³ãããã£ã³ã°ã®ä½ç½ã®ã¨ãæ¹ãéãã¨æãã®ã§ãã¾ããã¼ã¸ã³ã®ä»ãæ¹ãä¸é¨ã¾ãã¯ä¸é¨ã¨ããã§ãããããããã©ã®ããã«åãããããã
ãã§ã«å°ãèãã¦ãã¦ãä»åè£ã§ã¯CSSã«ã¹ã¿ã ããããã£ãä»è¾¼ãã§ãã¦ããããªãã¼ãã«ãã£ããããããã«éçºè
åãã®ä»çµã¿ãã¤ãããã¨ãè¦éã«å
¥ãã¦ããããã¾ãã
ãããã¯ã¨ãã£ã¿ã¯ãã¾ã ã¾ã æ¹è¯ãç¶ãã¨æãã¾ãã WordPressãã©ã°ã¤ã³ãEditor Bridgeããã¾ã ã¾ã æ¹è¯ã調æ´ãããªãããããã©ã°ã¤ã³ã«ãã¦ããããã¨æãã¾ãã
話ã¯ããã¦ãã¾ãã¾ãããããããã¯ã¨ãã£ã¿ã§WordPressãã©ã°ã¤ã³ãEditor Bridgeãããã²æ´»ç¨ãã¦ã¿ã¦ãã ãããã