-
Notifications
You must be signed in to change notification settings - Fork 18
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
Feat/mobile mvp #588
base: main
Are you sure you want to change the base?
Feat/mobile mvp #588
Conversation
Preview is ready. |
I changed target branch to I suggest reviewing and merging this PR after we migrating to uikit7 |
05c6811
to
b98ca42
Compare
4bce3f6
to
7c5aaca
Compare
7c5aaca
to
7d44037
Compare
236d26f
to
bedb3ff
Compare
const wCommandMenuConfig = cloneDeep(wysiwygToolbarConfigs.wCommandMenuConfig); | ||
wCommandMenuConfig.unshift(wGptItemData); | ||
|
||
const mToolbarConfig = cloneDeep(markupToolbarConfigs.mToolbarConfig); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets use toolbarPresets
export const mobilePreset: ToolbarsPreset = { | ||
items: { | ||
...zero.items, | ||
[Action.bold]: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you need a new preset? Should the toolbar be any different?
|
||
const b = cn('select-popup'); | ||
|
||
export const SelectPopup: FC<SelectPopupProps> = ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't seem like the best name, I would suggest PlatformPopup
|
||
import {SelectPopup} from '../bundle/SelectPopup'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the dependence should be the other way around
Fixes #329
Popup list (sheet?): Action.emoji, Action.colorify
Complex popup (100% design is required) 1: Action.file, Action.image, Action.imagePopup, Action.link,
Complex actions: Action.table, Action.filePopup
Under consideration: Action.horizontalRule