diff --git a/client/web/compose/src/themes/corteza-base/custom.scss b/client/web/compose/src/themes/corteza-base/custom.scss
index 2eb501759..bb74ebe22 100644
--- a/client/web/compose/src/themes/corteza-base/custom.scss
+++ b/client/web/compose/src/themes/corteza-base/custom.scss
@@ -43,70 +43,3 @@
padding-bottom: 0px !important;
}
}
-
-/* Basic editor styles */
-.editor__content :first-child {
- margin-top: 0;
-}
-
-/* Table-specific styling */
-.editor__content table {
- border-collapse: collapse;
- margin: 0;
- overflow: hidden;
- table-layout: fixed;
- width: 100%;
-}
-
-.editor__content td,
-.editor__content th {
- border: 1px solid var(--gray);
- box-sizing: border-box;
- min-width: 1em;
- padding: 6px 8px;
- position: relative;
- vertical-align: top;
-}
-
-.editor__content td > *,
-.editor__content th > * {
- margin-bottom: 0;
-}
-
-.editor__content th {
- background-color: var(--gray-dark);
- font-weight: bold;
- text-align: left;
-}
-
-.editor__content .selectedCell::after {
- background: var(--gray-dark);
- content: "";
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- pointer-events: none;
- position: absolute;
- z-index: 2;
-}
-
-.editor__content .column-resize-handle {
- background-color: var(--purple);
- bottom: -2px;
- pointer-events: none;
- position: absolute;
- right: -2px;
- top: 0;
- width: 4px;
-}
-
-.editor__content .tableWrapper {
- margin: 1.5rem 0;
- overflow-x: auto;
-}
-
-.editor__content .resize-cursor {
- cursor: ew-resize;
- cursor: col-resize;
-}
diff --git a/lib/vue/src/components/input/CRichTextInput/RToolbar/TNodeAttr/Alignment.vue b/lib/vue/src/components/input/CRichTextInput/RToolbar/TNodeAttr/Alignment.vue
index 55ae56b0b..70ba04491 100644
--- a/lib/vue/src/components/input/CRichTextInput/RToolbar/TNodeAttr/Alignment.vue
+++ b/lib/vue/src/components/input/CRichTextInput/RToolbar/TNodeAttr/Alignment.vue
@@ -2,13 +2,15 @@
+ :icon="format.icon"
+ />
{{ format.label }}
@@ -19,12 +21,12 @@
-
+ @click="dispatchTransaction(v)"
+ >
-
+ class="text-dark font-weight-bold"
+ >
+ variant="link"
+ boundary="window"
+ >
+ :icon="format.icon"
+ />
{{ format.label }}
@@ -20,8 +23,7 @@
:key="v.variant"
@click="emitClick(v)"
>
- {{ v.label }}
-
+ {{ v.label }}
@@ -34,7 +36,7 @@ import { nodeTypes } from '../../lib/formats'
* Component is used to display node alignment formatting
*/
export default {
- name: 't-nattr-table',
+ name: 'TNattrTable',
extends: base,
props: {
diff --git a/lib/vue/src/components/input/CRichTextInput/index.vue b/lib/vue/src/components/input/CRichTextInput/index.vue
index 7f90d0e1c..4c8c28381 100644
--- a/lib/vue/src/components/input/CRichTextInput/index.vue
+++ b/lib/vue/src/components/input/CRichTextInput/index.vue
@@ -1,22 +1,24 @@
-
+
-
-
+ >
+
@@ -25,7 +27,6 @@
:editor="editor"
class="editor__content"
/>
-
@@ -54,8 +55,8 @@ export default {
labels: {
type: Object,
- default: () => ({})
- }
+ default: () => ({}),
+ },
},
data () {
@@ -126,3 +127,76 @@ export default {
},
}
+
+