Skip to content
Snippets Groups Projects
Commit bff4a0a5 authored by chris's avatar chris
Browse files

css fix

parent 5080ebda
No related branches found
No related tags found
1 merge request!488Tables caption
......@@ -40,19 +40,6 @@ const Editoria = () => {
}
const editorRef = useRef();
const text = `<table>
<caption>Monthly savings</caption>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</table>
`;
const EditoriaComponent = useMemo(
() => (
<>
......@@ -63,7 +50,7 @@ const Editoria = () => {
autoFocus
placeholder="Type Something..."
fileUpload={file => renderImage(file)}
value={text}
value={demo}
// readonly
layout={layout}
// onChange={debounce(source => {
......
......@@ -41,7 +41,7 @@ const DropDownMenu = styled.div`
margin: 10px auto auto;
position: absolute;
width: 170px;
max-height: 150px;
max-height: 180px;
overflow-y: scroll;
z-index: 2;
......@@ -64,20 +64,20 @@ const StyledIcon = styled(Icon)`
const TableDropDown = ({ item }) => {
const dropDownOptions = [
{ label: 'Delete table', value: 'deleteTable' },
{ label: 'Add Caption', value: 'addCaption' },
{ label: 'Delete Caption', value: 'deleteCaption' },
{ label: 'Add column before', value: 'addColumnBefore' },
{ label: 'Add column after', value: 'addColumnAfter' },
{ label: 'Delete column', value: 'deleteColumn' },
{ label: 'Insert row before', value: 'addRowBefore' },
{ label: 'Insert row after', value: 'addRowAfter' },
{ label: 'Delete row', value: 'deleteRow' },
{ label: 'Delete table', value: 'deleteTable' },
{ label: 'Merge cells', value: 'mergeCells' },
{ label: 'Split cell', value: 'splitCell' },
{ label: 'Toggle header column', value: 'toggleHeaderColumn' },
{ label: 'Toggle header row', value: 'toggleHeaderRow' },
{ label: 'Toggle header cells', value: 'toggleHeaderCell' },
{ label: 'Add Caption', value: 'addCaption' },
{ label: 'Delete Caption', value: 'deleteCaption' },
];
const { activeView } = useContext(WaxContext);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment