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

Merging / Unmerging cells in the context menu is missing #279

Closed
pierrehenri220 opened this issue Aug 1, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@pierrehenri220
Copy link

commented Aug 1, 2018

Version

I installed the version 1.2.6 with latest dependencies
(markdown-it, etc...)

Test Environment

Any recent browser

Current Behavior

It's working well to my mind but I'm looking for the additional features from the tables addon.

<link rel="stylesheet" href="/_assets/js/lib/tui.editor-1.2.6/tui-editor.css">
<link rel="stylesheet" href="/_assets/js/lib/tui.editor-1.2.6/tui-editor-contents.css">
<script src="/_assets/js/lib/markdown-it.js"></script>
<script src="/_assets/js/lib/to-mark.js"></script>
<script src="/_assets/js/lib/tui-code-snippet.js"></script>
<script src="/_assets/js/lib/codemirror.js"></script>
<script src="/_assets/js/lib/highlight.pack.js"></script>
<script src="/_assets/js/lib/squire-raw.js"></script>
<script src="/_assets/js/lib/tui.editor-1.2.6/tui-editor-Editor.js"></script>
<script src="/_assets/js/lib/tui.editor-1.2.6/tui-editor-extTable.js"></script>
            var editor = new tui.Editor({
                el:              $wysiwyg.get(0)
              , initialEditType: 'wysiwyg'
              , previewStyle:    'tab'
              , height:          'auto'
              , minHeight:       '400px'
              , language:        'ja'
              , usageStatistics: false
              , exts:                  ['table']
              , events: {
                    load: function() {
                        setTimeout(function() {
                            editor.setHtml( $textarea.val() );
                        }, 450);
                    }
                  , change: function() {
                        if ( ! timerID ) {
                            timerID = setTimeout(function() {
                                $textarea.val( editor.getHtml() );
                                timerID = false;
                            }, 1000 );    
                        }
                    }
                }
            });

Expected Behavior

When I do a right click, I would like to be able to use the following missing actions:

  • Merge cells
  • Unmerge cells

Currently table's cells can only be merged from the markdown view.

The "merge" options in the context menu is displayed on the animated
gif from the documentation but it doesn't work neither on the related demo page.

I tried to investigate a bit by myself but no success at the moment.
Any help / hint would be greatly appreciated.

Thank you very much in advance.

@kyuwoo-choi kyuwoo-choi added the triage label Aug 6, 2018

@kyuwoo-choi kyuwoo-choi added Bug and removed triage labels Nov 8, 2018

@kyuwoo-choi

This comment has been minimized.

Copy link
Member

commented Nov 8, 2018

It's a bug out of a stupid mistake. I'll fix this soon.

Thanks for the report @pierrehenri220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.