Skip to content

Commit

Permalink
fix: color popup misplaced (close #253)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyuwoo.choi committed Jul 9, 2018
1 parent 1916ff1 commit d970646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/extensions/colorSyntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ function initUI(editor, preset) {
title: false,
content: $colorPickerContainer,
className: 'tui-popup-color',
$target: editor.getUI().$el,
$target: editor.getUI().getToolbar().$el,
css: {
'width': 'auto',
'position': 'fixed'
'position': 'absolute'
}
});

Expand Down

0 comments on commit d970646

Please sign in to comment.