{"id":23613,"date":"2025-11-13T04:28:16","date_gmt":"2025-11-13T04:28:16","guid":{"rendered":"https:\/\/ourdemy.dev\/?p=23613"},"modified":"2025-11-20T09:35:26","modified_gmt":"2025-11-20T09:35:26","slug":"richtext-%e2%86%92-how-do-i-use-rich-text-and-how-can-i-style-parts-of-it-separately","status":"publish","type":"post","link":"https:\/\/ourdemy.com\/ja\/richtext-%e2%86%92-how-do-i-use-rich-text-and-how-can-i-style-parts-of-it-separately\/","title":{"rendered":"\u30ea\u30c3\u30c1\u30c6\u30ad\u30b9\u30c8\u306e\u4f7f\u3044\u65b9\u3068\u3001\u4e00\u90e8\u306e\u30c6\u30ad\u30b9\u30c8\u3060\u3051\u5225\u306e\u30b9\u30bf\u30a4\u30eb\u306b\u3059\u308b\u65b9\u6cd5\u306f\uff1f"},"content":{"rendered":"<div style=\"width: 100%; padding: 0 clamp(16px, 4vw, 64px); box-sizing: border-box;\">\n            <div style=\"position: relative; background-color: white; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); margin: 0 auto 16px auto; transition: all 0.2s; max-width: 800px;\">\n              <div style=\"display: flex; align-items: center; justify-content: space-between; padding: clamp(12px, 3vw, 16px) clamp(12px, 3vw, 16px) clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);\">\n                <div style=\"display: flex; align-items: center; gap: 12px; flex: 1;\">\n                  <div style=\"position: relative; flex-shrink:0;\">\n                    <span style=\"background: linear-gradient(135deg, #a78bfa, #8b5cf6); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\">\n                      1\n                    <\/span>\n                  <\/div>\n                  <div style=\"display: flex; align-items: center; gap: 8px; flex-1; min-width: 0;\">\n                    <div style=\"font-size: 14px; color: #1f2937; line-height: 1.625; cursor: pointer; padding: 8px; border-radius: 4px; transition: all 0.2s; border: 1px solid transparent; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; flex: 1;\">\u30a8\u30ec\u30e1\u30f3\u30c8\u30d1\u30cd\u30eb\u3067 <span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Rich Text<\/span> \u3092\u9078\u629e\u3057\u3001\u3053\u306e\u30a8\u30ec\u30e1\u30f3\u30c8\u306f\u3001\u540c\u3058\u30d6\u30ed\u30c3\u30af\u5185\u3067\u7570\u306a\u308b\u30a4\u30f3\u30e9\u30a4\u30f3\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3067\u304d\u308b\u67d4\u8edf\u306a\u30c6\u30ad\u30b9\u30c8\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002\n<span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Rich Text<\/span> \u30d6\u30ed\u30c3\u30af\u3092\u30bb\u30af\u30b7\u30e7\u30f3\u3001\u884c\u3001\u307e\u305f\u306f\u5217\u306b\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u914d\u7f6e\u3057\u307e\u3059\u3002<\/div>\n                  <\/div>\n                <\/div>\n              <\/div>\n              \n            <div style=\"padding: 0 16px 16px 16px;\">\n              <div style=\"position: relative; overflow: hidden; border-radius: 8px; border: 1px solid #e5e7eb; background-color: #f9fafb; width: 100%;\">\n                <img fetchpriority=\"high\" decoding=\"async\" width=\"1440\" height=\"826\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-3f8962e0867a0c7e-1763631308.gif\" class=\"wp-image-24728\" alt=\"Screenshot for step 1\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" \/>\n              <\/div>\n            <\/div>\n          \n            <\/div>\n          <\/div>\n        \n          <div style=\"width: 100%; padding: 0 clamp(16px, 4vw, 64px); box-sizing: border-box;\">\n            <div style=\"position: relative; background-color: white; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); margin: 0 auto 16px auto; transition: all 0.2s; max-width: 800px;\">\n              <div style=\"display: flex; align-items: center; justify-content: space-between; padding: clamp(12px, 3vw, 16px) clamp(12px, 3vw, 16px) clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);\">\n                <div style=\"display: flex; align-items: center; gap: 12px; flex: 1;\">\n                  <div style=\"position: relative; flex-shrink:0;\">\n                    <span style=\"background: linear-gradient(135deg, #a78bfa, #8b5cf6); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\">\n                      2\n                    <\/span>\n                  <\/div>\n                  <div style=\"display: flex; align-items: center; gap: 8px; flex-1; min-width: 0;\">\n                    <div style=\"font-size: 14px; color: #1f2937; line-height: 1.625; cursor: pointer; padding: 8px; border-radius: 4px; transition: all 0.2s; border: 1px solid transparent; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; flex: 1;\">\u305d\u306e\u5f8c\u3001<span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Edit Content<\/span> \u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30ea\u30c3\u30c1\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u304c\u6709\u52b9\u306b\u306a\u308a\u3001\u3053\u3053\u3067\u30c6\u30ad\u30b9\u30c8\u306e\u5165\u529b\u3068\u30b9\u30bf\u30a4\u30eb\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/div>\n                  <\/div>\n                <\/div>\n              <\/div>\n              \n            <div style=\"padding: 0 16px 16px 16px;\">\n              <div style=\"position: relative; overflow: hidden; border-radius: 8px; border: 1px solid #e5e7eb; background-color: #f9fafb; width: 100%;\">\n                <img decoding=\"async\" width=\"1396\" height=\"800\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-3ffb6951dcb6f821-1763631315.png\" class=\"wp-image-24729\" alt=\"Screenshot for step 2\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" srcset=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-3ffb6951dcb6f821-1763631315.png 1396w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-3ffb6951dcb6f821-1763631315-300x172.png 300w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-3ffb6951dcb6f821-1763631315-1024x587.png 1024w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-3ffb6951dcb6f821-1763631315-768x440.png 768w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-3ffb6951dcb6f821-1763631315-18x10.png 18w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-3ffb6951dcb6f821-1763631315-710x407.png 710w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-3ffb6951dcb6f821-1763631315-600x344.png 600w\" sizes=\"(max-width: 1396px) 100vw, 1396px\" \/>\n              <\/div>\n            <\/div>\n          \n            <\/div>\n          <\/div>\n        \n          <div style=\"width: 100%; padding: 0 clamp(16px, 4vw, 64px); box-sizing: border-box;\">\n            <div style=\"position: relative; background-color: white; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); margin: 0 auto 16px auto; transition: all 0.2s; max-width: 800px;\">\n              <div style=\"display: flex; align-items: center; justify-content: space-between; padding: clamp(12px, 3vw, 16px) clamp(12px, 3vw, 16px) clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);\">\n                <div style=\"display: flex; align-items: center; gap: 12px; flex: 1;\">\n                  <div style=\"position: relative; flex-shrink:0;\">\n                    <span style=\"background: linear-gradient(135deg, #a78bfa, #8b5cf6); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\">\n                      3\n                    <\/span>\n                  <\/div>\n                  <div style=\"display: flex; align-items: center; gap: 8px; flex-1; min-width: 0;\">\n                    <div style=\"font-size: 14px; color: #1f2937; line-height: 1.625; cursor: pointer; padding: 8px; border-radius: 4px; transition: all 0.2s; border: 1px solid transparent; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; flex: 1;\"><span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Content<\/span> \u30a8\u30ea\u30a2\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u5165\u529b\u3057\u3001\u7d44\u307f\u8fbc\u307f\u306e\u66f8\u5f0f\u30c4\u30fc\u30eb\uff08\u592a\u5b57\u3001\u659c\u4f53\u3001\u8272\u3001\u30ea\u30f3\u30af\u3001\u30ea\u30b9\u30c8\u306a\u3069\uff09\u3092\u4f7f\u3063\u3066\u30c6\u30ad\u30b9\u30c8\u306e\u4e00\u90e8\u3092\u500b\u5225\u306b\u88c5\u98fe\u3057\u307e\u3059\u3002<\/div>\n                  <\/div>\n                <\/div>\n              <\/div>\n              \n            <div style=\"padding: 0 16px 16px 16px;\">\n              <div style=\"position: relative; overflow: hidden; border-radius: 8px; border: 1px solid #e5e7eb; background-color: #f9fafb; width: 100%;\">\n                <img decoding=\"async\" width=\"1440\" height=\"698\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-7298008ce9146049-1763631317.gif\" class=\"wp-image-24730\" alt=\"Screenshot for step 3\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" \/>\n              <\/div>\n            <\/div>\n          \n            <\/div>\n          <\/div>\n        \n          <div style=\"width: 100%; padding: 0 clamp(16px, 4vw, 64px); box-sizing: border-box;\">\n            <div style=\"position: relative; background-color: white; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); margin: 0 auto 16px auto; transition: all 0.2s; max-width: 800px;\">\n              <div style=\"display: flex; align-items: center; justify-content: space-between; padding: clamp(12px, 3vw, 16px) clamp(12px, 3vw, 16px) clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);\">\n                <div style=\"display: flex; align-items: center; gap: 12px; flex: 1;\">\n                  <div style=\"position: relative; flex-shrink:0;\">\n                    <span style=\"background: linear-gradient(135deg, #a78bfa, #8b5cf6); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\">\n                      4\n                    <\/span>\n                  <\/div>\n                  <div style=\"display: flex; align-items: center; gap: 8px; flex-1; min-width: 0;\">\n                    <div style=\"font-size: 14px; color: #1f2937; line-height: 1.625; cursor: pointer; padding: 8px; border-radius: 4px; transition: all 0.2s; border: 1px solid transparent; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; flex: 1;\">\u7de8\u96c6\u304c\u7d42\u308f\u3063\u305f\u3089 <span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">\u00d7<\/span> \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u4e00\u6642\u7684\u306b\u30a8\u30c7\u30a3\u30bf\u3092\u9589\u3058\u3001\u30da\u30fc\u30b8\u4e0a\u3067\u3069\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u308b\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/div>\n                  <\/div>\n                <\/div>\n              <\/div>\n              \n            <div style=\"padding: 0 16px 16px 16px;\">\n              <div style=\"position: relative; overflow: hidden; border-radius: 8px; border: 1px solid #e5e7eb; background-color: #f9fafb; width: 100%;\">\n                <img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"698\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-3bb7fdf0f97bb836-1763631322.gif\" class=\"wp-image-24732\" alt=\"Screenshot for step 4\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" \/>\n              <\/div>\n            <\/div>\n          \n            <\/div>\n          <\/div>","protected":false},"excerpt":{"rendered":"<p>1 \u30a8\u30ec\u30e1\u30f3\u30c8\u30d1\u30cd\u30eb\u3067 Rich Text \u3092\u9078\u629e\u3057\u3001\u3053\u306e\u30a8\u30ec\u30e1\u30f3\u30c8\u306f\u3001\u540c\u3058\u30d6\u30ed\u30c3\u30af\u5185\u3067\u7570\u306a\u308b\u30a4\u30f3\u30e9\u30a4\u30f3\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3067\u304d\u308b\u67d4\u8edf\u306a\u30c6\u30ad\u30b9\u30c8\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002 Rich Text \u30d6\u30ed\u30c3\u30af\u3092\u30bb\u30af\u30b7\u30e7\u30f3\u3001\u884c\u3001\u307e\u305f\u306f\u5217\u306b\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u914d\u7f6e\u3057\u307e\u3059\u3002 2 \u305d\u306e\u5f8c\u3001Edit Content \u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30ea\u30c3\u30c1\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u304c\u6709\u52b9\u306b\u306a\u308a\u3001\u3053\u3053\u3067\u30c6\u30ad\u30b9\u30c8\u306e\u5165\u529b\u3068\u30b9\u30bf\u30a4\u30eb\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002 3 Content \u30a8\u30ea\u30a2\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u5165\u529b\u3057\u3001\u7d44\u307f\u8fbc\u307f\u306e\u66f8\u5f0f\u30c4\u30fc\u30eb\uff08\u592a\u5b57\u3001\u659c\u4f53\u3001\u8272\u3001\u30ea\u30f3\u30af\u3001\u30ea\u30b9\u30c8\u306a\u3069\uff09\u3092\u4f7f\u3063\u3066\u30c6\u30ad\u30b9\u30c8\u306e\u4e00\u90e8\u3092\u500b\u5225\u306b\u88c5\u98fe\u3057\u307e\u3059\u3002 4 \u7de8\u96c6\u304c\u7d42\u308f\u3063\u305f\u3089 \u00d7 \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u4e00\u6642\u7684\u306b\u30a8\u30c7\u30a3\u30bf\u3092\u9589\u3058\u3001\u30da\u30fc\u30b8\u4e0a\u3067\u3069\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u308b\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,34],"tags":[],"class_list":["post-23613","post","type-post","status-publish","format-standard","hentry","category-customize-your-site","category-help-center"],"_links":{"self":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/comments?post=23613"}],"version-history":[{"count":4,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23613\/revisions"}],"predecessor-version":[{"id":24735,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23613\/revisions\/24735"}],"wp:attachment":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/media?parent=23613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/categories?post=23613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/tags?post=23613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}