-
Notifications
You must be signed in to change notification settings - Fork 110
Editor frontend API #3615
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
Editor frontend API #3615
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
61d6f8d
enh(editor): Wrap editor into a frontend API
juliusknorr 8c6cd4d
enh(editor): Allow to setContent on the editor
juliusknorr 988f99c
enh(Editor): Emit event on update
juliusknorr 580bcf4
enh: Add event to load editor
juliusknorr 2ee8534
fix(editor): Avoid errors when no parent component is present
juliusknorr dcaf534
feat: Add MarkdownContentEditor component
juliusknorr e914638
refactor: Make Wrapper component easier to reuse with default prop va…
juliusknorr d9ab846
refactor: Unify editor plugins for rich text editing in the RichText …
juliusknorr 0c6345c
refactor: Allow to pass custom items/emit to mentions plugin
juliusknorr eb65c5f
chore: load script for direct editing outside of template
juliusknorr ccd5049
fix: Add fallback values for reading editors relative path
juliusknorr 21adb2d
fix: Keep RichTextReader with previous extension set
juliusknorr ac03f67
chore: Update composer autoloader
juliusknorr e257f3d
fix(Wrapper): Avoid absolute positioning
juliusknorr 160d64e
feat: Migrate to class based editor api and hook attachment/link/imag…
juliusknorr 9a60337
fix: Only open image viewer on click to the actual image
juliusknorr 78ee556
fix: Only render link previews if links start with http(s)
juliusknorr 1d7cc11
fix: Move scroll container definition outside of core text components
juliusknorr e5b881d
docs: Add notes about the component integration to the readme
juliusknorr b78766b
fix: Implement onLoaded callback
juliusknorr 1b76d99
fix: Set content for file editor
juliusknorr 2da1f89
fix: Missing history plugin
juliusknorr 9bc0880
fix(Menubar): Avoid negative offset on small screens
juliusknorr 47b58c9
Expose focus command from createEditor
mejo- a0f9aa6
Fix imports and set webpackChunkName for async imports
mejo- 4591c69
fix(MenuBar): Only preserve 100px for the right section
juliusknorr 361a9d9
fix: Work around issue where numeric value is passed to prosemirror-m…
juliusknorr 32f2cf8
Minor adjustments to README.md
mejo- 49a898f
Compile assets
nextcloud-command File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs: Add notes about the component integration to the readme
Signed-off-by: Julius Härtl <[email protected]>
- Loading branch information
commit e5b881dc48bc551d50818eeed47b4a2593acbcf3
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.