Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

DEV: Use UppyUploadMixin for docked-upload#65

Open
martin-brennan wants to merge 1 commit intopaviliondev:masterfrom
martin-brennan:dev/use-uppy-upload-mixin
Open

DEV: Use UppyUploadMixin for docked-upload#65
martin-brennan wants to merge 1 commit intopaviliondev:masterfrom
martin-brennan:dev/use-uppy-upload-mixin

Conversation

@martin-brennan
Copy link

This commit changes the docked-upload to use the new UppyUploadMixin
from discourse core; the old mixin is no longer supported.

I also added some minor fixes around changed APIs for the docked-editor
which inherits from d-editor and implements textarea-text-manipulation,
without this fix the upload text would not be added.

This commit changes the docked-upload to use the new UppyUploadMixin
from discourse core; the old mixin is no longer supported.

I also added some minor fixes around changed APIs for the docked-editor
which inherits from d-editor and implements textarea-text-manipulation,
without this fix the upload text would not be added.
this._showLinkCounts($html);
this._fixImageSizes($html);

// removed inhttps://github.com/discourse/discourse/commit/e305365168528883872d4ce9efd109e41149ef0a
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was broken in main for this repo, I could not do this fix without commenting this out, a further fix will need to be made here (or it could possibly be removed altogether, I didn't look into it)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant