-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
WYSIWYG Editor #9048
WYSIWYG Editor #9048
Conversation
should we consider this https://github.com/mrudultora/Colorpicker color picker ? |
I'm okay with @mrudultora's color picker yes |
bbc9340
to
89fa147
Compare
7b35cb8
to
88c0d98
Compare
@david-allison-1 you mentioned in #9048 (comment) that the iframe is not working, I did search whether its summer note problem or browser and found the cause tneotia/html-editor-enhanced#12 the solution is to append `https: in src then it's working fine |
one question: do we really need to give the option to embed links or videos in notes? because upstream anki doesn't have that functionality. |
If Anki didn't have it, then there's no need to handle it |
AnkiDroid/src/main/java/com/ichi2/anki/multimediacard/activity/VisualEditorActivity.java
Outdated
Show resolved
Hide resolved
AnkiDroid/src/main/java/com/ichi2/anki/multimediacard/visualeditor/FontSelectionDialog.java
Outdated
Show resolved
Hide resolved
AnkiDroid/src/main/java/com/ichi2/anki/multimediacard/activity/VisualEditorActivity.java
Outdated
Show resolved
Hide resolved
AnkiDroid/src/main/java/com/ichi2/anki/multimediacard/visualeditor/WebViewUndoRedo.java
Show resolved
Hide resolved
AnkiDroid/src/main/java/com/ichi2/anki/RegisterMediaForWebView.java
Outdated
Show resolved
Hide resolved
Hi @Akshay0701 , @david-allison-1 I Just wanted to know that how to do I contribute in this PR ? I their is the way by which 2 people can contribute in 1 PR. |
yes sure, |
22fa3d3
to
66c23d0
Compare
1244082
to
b0ae947
Compare
This is because summernote cannot currently cut if an image is selected, so we implement this ourselves. WebView is also buggy, disallowing "cut" on the CAB if only an image is selected, so we fix this via creating a custom MenuItem.
Equation icon my own work. Derivative of Roboto Font and Google Material Design icons Licensing under Apache 2.
To stop TransactionTooLargeException
b0ae947
to
252c82e
Compare
updates
|
252c82e
to
2bd5b7f
Compare
1 Extracted toolbar code to VisualEditorToolbar 2 Dropped OrderedList and UnorderedList feature from editor(buggy and AnkiDesktop doesn't have this feature) 3 Dropped RegisterMediaForWebView and used MediaRegistration class 4 audio fix
2bd5b7f
to
5b22a38
Compare
Hello 👋, this PR has been opened for more than 2 months with no activity on it. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 7 days until this gets closed automatically |
Purpose / Description
Follow-on from #7962 with commits cleaned and most review feedback handled.
Performed as trgk on Discord is interested and it'd be great to get this across the finish line.
Required:
Fixes
Fixes #1377
Features