Skip to content

added style Menubutton, and finished sync #1

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

Merged
merged 3 commits into from
Apr 3, 2022
Merged

added style Menubutton, and finished sync #1

merged 3 commits into from
Apr 3, 2022

Conversation

hbregalad
Copy link
Contributor

@hbregalad hbregalad commented Apr 3, 2022

a Menubutton added for selecting style,
connected style of text_area to style of preview_area via a self.css member field

added another flag reset of text_area.edit_modified so that on_input_change fires when it should.

Got preview updating.
Added a Menubutton so the user can select light or dark style, updates the style in both text_area and preview_area
switched from Menu.post() to Menu.tk_popup() for better menu removal when no options are desired.
@hreikin
Copy link
Owner

hreikin commented Apr 3, 2022

Hi @hbregalad and thanks for this brilliant PR ! The project is only about 15/16 hours old so i honestly wasn't expecting any other contributors, thank you !

The PR is good, i'll accept and merge, thanks.

@hreikin hreikin merged commit 8d36b8f into hreikin:main Apr 3, 2022
hreikin added a commit to hreikin/pymd-editor that referenced this pull request Apr 3, 2022
@hreikin hreikin self-assigned this Apr 3, 2022
@hreikin hreikin added the enhancement New feature or request label Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

2 participants