.ckeditor5-toolbar-button-textPartLanguage { display: flex; align-items: center; justify-content: space-between; width: 110px; color: #000; } .ckeditor5-toolbar-button-textPartLanguage::before { margin-left: 10px; content: "Language"; font-size: 14px; } [dir="rtl"] .ckeditor5-toolbar-button-textPartLanguage::before { margin-right: 10px; margin-left: 0; } .ckeditor5-toolbar-button-textPartLanguage::after { display: inline-block; width: 7px; height: 7px; margin-right: 10px; content: ""; transform: rotate(135deg); border-width: 2px 2px 0 0; border-style: solid; } [dir="rtl"] .ckeditor5-toolbar-button-textPartLanguage::after { margin-right: 0; margin-left: 10px; }