Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit html table #932

Closed
andermikael opened this issue Mar 21, 2022 · 2 comments
Closed

Edit html table #932

andermikael opened this issue Mar 21, 2022 · 2 comments
Assignees
Labels

Comments

@andermikael
Copy link

andermikael commented Mar 21, 2022

I'm not sure if this is suppose to work, but...

If I have an HTML table. The table is shown in the preview, but I want to make some changes to it.

I right click on the table tag and select Edit Table. The table is selected but then nothing!
I have also tried Format Table and got the same result...
Here is a table I tried with.

<table>
 <tr>
   <th>Company</th>
   <th>Contact</th>
   <th>Country</th>
 </tr>
 <tr>
   <td>Alfreds Futterkiste</td>
   <td>Maria Anders</td>
   <td>Germany</td>
 </tr>
 <tr>
   <td>Centro comercial Moctezuma</td>
   <td>Francisco Chang</td>
   <td>Mexico</td>
 </tr>
</table> 

MM 2.4.6
Windows 10

// Anders

@RickStrahl RickStrahl self-assigned this Mar 21, 2022
@RickStrahl RickStrahl added the bug label Mar 21, 2022
@RickStrahl
Copy link
Owner

RickStrahl commented Mar 21, 2022

Hmmm... not sure I have to check.

For now you can:

  • Select the table in the editor
  • Copy to clipboard
  • Open the table editor and paste the HTML
  • Edit and paste back
  • Because of the selection in the editor the original table will be replaced with the edited one.

Looks like there's some problem with detecting the HTML in the selection.

@RickStrahl
Copy link
Owner

Fixed for 2.4.6.3+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants