mirror of
https://github.com/codex-team/editor.js
synced 2026-03-15 23:25:47 +01:00
- Refactored inline tool interfaces to use MenuConfig directly. - Removed deprecated methods and properties from InlineTool and related types. - Updated tests to reflect changes in inline tool handling and ensure proper functionality. - Enhanced test coverage for inline tools, including link and italic tools. - Cleaned up unused code and improved overall test structure.
79 lines
1.5 KiB
CSS
79 lines
1.5 KiB
CSS
.codex-editor.codex-editor--rtl {
|
|
direction: rtl;
|
|
|
|
.cdx-list {
|
|
padding-left: 0;
|
|
padding-right: 40px;
|
|
}
|
|
|
|
.ce-toolbar {
|
|
&__plus {
|
|
right: calc(var(--toolbox-buttons-size) * -1);
|
|
left: auto;
|
|
}
|
|
|
|
&__actions {
|
|
right: auto;
|
|
left: calc(var(--toolbox-buttons-size) * -1);
|
|
|
|
@media (--mobile) {
|
|
margin-left: 0;
|
|
margin-right: auto;
|
|
padding-right: 0;
|
|
padding-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ce-settings {
|
|
left: 5px;
|
|
right: auto;
|
|
|
|
&::before {
|
|
right: auto;
|
|
left: 25px;
|
|
}
|
|
|
|
&__button {
|
|
&:not(:nth-child(3n+3)) {
|
|
margin-left: 3px;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ce-conversion-tool {
|
|
&__icon {
|
|
margin-right: 0;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
.ce-inline-toolbar {
|
|
&__dropdown {
|
|
border-right: 0 solid transparent;
|
|
border-left: 1px solid var(--color-line-gray);
|
|
margin: 0 -6px 0 6px;
|
|
|
|
.icon--toggler-down {
|
|
margin-left: 0;
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.codex-editor--narrow.codex-editor--rtl {
|
|
.ce-toolbar__plus {
|
|
@media (--not-mobile) {
|
|
left: 0;
|
|
right: 5px;
|
|
}
|
|
}
|
|
|
|
.ce-toolbar__actions {
|
|
@media (--not-mobile) {
|
|
left: -5px;
|
|
}
|
|
}
|
|
}
|