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

When I call changeMode, the bottom tab is not changed. #390

Open
jung-han opened this issue Feb 11, 2019 · 0 comments
Open

When I call changeMode, the bottom tab is not changed. #390

jung-han opened this issue Feb 11, 2019 · 0 comments

Comments

@jung-han
Copy link
Member

Version

v1.3.0

Test Environment

chrome 73.0.3683.27

Current Behavior

When I call changeMode, the bottom tab is not changed. But, Edit Type is changed.

var editor = new tui.Editor({
  el: document.querySelector('#editSection'),
  previewStyle: 'vertical',
  height: '400px',
  initialEditType: 'markdown',
  useCommandShortcut: true,
  initialValue: content,
  exts: [
    {
      name: 'chart',
      minWidth: 100,
      maxWidth: 600,
      minHeight: 100,
      maxHeight: 300
    },
    'scrollSync',
    'colorSyntax',
    'uml',
    'mark',
    'table'
  ]
});

editor.changeMode('wysiwyg');

image

Expected Behavior

Tabs should also be changed as follows.

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

No branches or pull requests

2 participants