Repository navigation
Closed
Labels
🪲 pri/majorBugs will affect your normal use of Mark Text, causing you unwilling or unable to continue using MT🐛 bugSomething isn't working🦖 table blockissues about table block
Description
Description
The table menu icon disappears and you can move the menu 🙈.
Steps to reproduce
problem 1 (fixed)
- create table
- press
Ctrl+A - press
Del - table icon disappears
problem 2
- create table
- press
Ctrl+A - press (multiple times)
Enter - table menu position changes and you cannot click on the table anymore
problem 3
- create table
- insert new line after the table
- select table cell
- press
Ctrl+A - press
Del - table disappears
StateRender.js?8779:formatted:140 Uncaught TypeError: Cannot read property 'align' of undefined
at renderBlock (StateRender.js?8779:formatted:140)
at eval (StateRender.js?8779:formatted:170)
at Array.map (<anonymous>)
at renderBlock (StateRender.js?8779:formatted:169)
at eval (StateRender.js?8779:formatted:170)
at Array.map (<anonymous>)
at renderBlock (StateRender.js?8779:formatted:169)
at eval (StateRender.js?8779:formatted:170)
at Array.map (<anonymous>)
at renderBlock (StateRender.js?8779:formatted:169)
if (block.type === 'li' && block.label) { <--- error
const { label } = block
const { align } = activeBlocks[0]
if (align && block.label === align) {
blockSelector += '.active'
}
Object.assign(data.dataset, { label })
}
problem 4 (fixed)
- create table
- insert new line after table
- select table cell
- press
Ctrl+A - press
Backspace - press
Ctrl+A - press
Backspace
Uncaught TypeError: Cannot read property 'textContent' of undefined
at checkEditLanguage (language.js?430e:5)
at HTMLDivElement.handler (index.js?981b:190)
/**
* check edit language
*/
export const checkEditLanguage = (paragraph, selectionState) => {
const text = paragraph.textContent <--- error
const { start } = selectionState
const token = text.match(/(^`{3,})([^`]+)/)
if (token) {
const len = token[1].length
const lang = token[2].trim()
if (start < len) return false
if (!lang) return false
return lang
} else {
return false
}
}
// WEBPACK FOOTER //
// src/editor/codeMirror/language.js
Versions
- Mark Text: 0.8.8
- OS: linux
Metadata
Metadata
Assignees
Labels
🪲 pri/majorBugs will affect your normal use of Mark Text, causing you unwilling or unable to continue using MT🐛 bugSomething isn't working🦖 table blockissues about table block



Activity
Jocs commentedon Mar 23, 2018
@fxha Style in the create table dialog is also wrong in Linux system.
Jocs commentedon Mar 23, 2018
@fxha So many weird bugs, these bugs will make me crazy...
fxha commentedon Mar 23, 2018
What did you mean by this?
Jocs commentedon Mar 23, 2018
the
row inputand thecolumn inputare not in the same row.they display in two lines.
They should display in one row. like this:
Row: __________ Column __________
Jocs commentedon Apr 12, 2018
@fxha
how to select table row/column?
Bugfix: #67
fxha commentedon Apr 12, 2018
@Jocs I mean table cell
Jocs commentedon Apr 12, 2018
@fxha I can not reproduce the problem 3, can you help test it with the latest master branch. I have submitted a commit to fix this issue.
fxha commentedon Apr 12, 2018
@Jocs I updated issue and found a new bug
2 remaining items
Jocs commentedon Apr 16, 2018
@fxha fixed in master branch
fxha commentedon Apr 16, 2018
@Jocs Thanks for your work, but problem 2 and 3 still exists in master branch.
Jocs commentedon Apr 16, 2018
@fxha I found that if wrote the commit message
fix: #xxx, and the xxx issue will be automatically closed, I'll reopen this issue to fix the problem 2 and 3.Bugfix: marktext#67
fix: marktext#67 problem 4