Skip to content

Sync wrapping behavior with references - #453

Open
edgeinfinity1 wants to merge 2 commits into
FriendsOfFlarum:1.xfrom
edgeinfinity1:linewrap_twk
Open

Sync wrapping behavior with references#453
edgeinfinity1 wants to merge 2 commits into
FriendsOfFlarum:1.xfrom
edgeinfinity1:linewrap_twk

Conversation

@edgeinfinity1

Copy link
Copy Markdown
Contributor
modified:   js/src/forum/components/FileManagerModal.js

Fixes #0000

This PR transplanted the wrapping mechanism from references, to make insertion more friendly, especially with rich text editor.

Changes proposed in this pull request:

Reviewers should focus on:

Screenshot

Confirmed

  • Frontend changes: tested on a local Flarum installation.
  • Backend changes: tests are green (run composer test).

Required changes:

	modified:   js/src/forum/components/FileManagerModal.js
@edgeinfinity1
edgeinfinity1 requested a review from a team as a code owner December 22, 2025 09:15

@imorland imorland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@edgeinfinity1

Copy link
Copy Markdown
Contributor Author

Can you please address the typings issue:

I went through the log but seemingly most errors are caused by code in src/common, and I don't really see how they're related with my changes. Could that be caused by something else?
I'm kinda newbie in nodejs, so please correct me if I'm making obvious mistakes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants