1
0
Fork 0

Commits vergleichen

...

6 Commits

Autor SHA1 Nachricht Datum
jumagura
feeea4ff16 bump version 2023-09-08 10:01:05 -04:00
jumagura
d78eea884b bump version 2023-09-05 13:05:55 -04:00
jumagura
45464fd0b1 DEV: Pin plugin for Discourse 3.1 stable 2023-09-05 13:05:17 -04:00
Marcos
6b0ca85880
Merge pull request #262 from paviliondev/stable-revert-fix
REVERT: Update insert-hyperlink invocation following core change
2023-08-26 08:45:15 -04:00
jumagura
cf1b9b9ba0 bump version on stable 2023-08-25 19:09:45 -04:00
jumagura
81b781b5f7 REVERT: Update insert-hyperlink invocation following core change 2023-08-24 15:30:21 -04:00
3 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -1,2 +1,3 @@
3.1.999: 1f35b80f85e5fd1efb7f4851f0845700432febdc
2.7.99: e07a57e398b6b1676ab42a7e34467556fca5416b
2.5.1: bb85b3a0d2c0ab6b59bcb405731c39089ec6731c

Datei anzeigen

@ -12,14 +12,12 @@ import { alias } from "@ember/object/computed";
import Site from "discourse/models/site";
import { uploadIcon } from "discourse/lib/uploads";
import { dasherize } from "@ember/string";
import InsertHyperlink from "discourse/components/modal/insert-hyperlink";
import { inject as service } from "@ember/service";
import showModal from "discourse/lib/show-modal";
const IMAGE_MARKDOWN_REGEX =
/!\[(.*?)\|(\d{1,4}x\d{1,4})(,\s*\d{1,3}%)?(.*?)\]\((upload:\/\/.*?)\)(?!(.*`))/g;
export default ComposerEditor.extend({
modal: service(),
classNameBindings: ["fieldClass"],
allowUpload: true,
@ -200,8 +198,9 @@ export default ComposerEditor.extend({
if (this._lastSel) {
linkText = this._lastSel.value;
}
this.modal.show(InsertHyperlink, {
model: { linkText, toolbarEvent },
showModal("insert-hyperlink").setProperties({
linkText,
toolbarEvent,
});
},

Datei anzeigen

@ -1,7 +1,7 @@
# frozen_string_literal: true
# name: discourse-custom-wizard
# about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more.
# version: 2.4.17
# version: 2.4.20
# authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos
# url: https://github.com/paviliondev/discourse-custom-wizard
# contact_emails: development@pavilion.tech