Skip to content

Dont add external link container inside editor#9095

Merged
ahukkanen merged 4 commits intodecidim:developfrom
mainio:fix/dont_add_external_link_inside_editor
Mar 29, 2022
Merged

Dont add external link container inside editor#9095
ahukkanen merged 4 commits intodecidim:developfrom
mainio:fix/dont_add_external_link_inside_editor

Conversation

@lahdeero
Copy link
Copy Markdown
Contributor

@lahdeero lahdeero commented Mar 25, 2022

🎩 What? Why?

Currently external links are added to links inside editor also, this doesn't make much sense because author knows that the link they added is external. This also adds problem that we add extra content to a link each time it is opened with the editor. Here we prevent external link containers to be added inside the editor.

📌 Related Issues

#9055

Testing

See #9055

📋 Checklist

  • CONSIDER adding a unit test if your PR resolves an issue.
  • ✔️ DO check open PR's to avoid duplicates.
  • ✔️ DO keep pull requests small so they can be easily reviewed.
  • ✔️ DO build locally before pushing.
  • ✔️ DO make sure tests pass.
  • ✔️ DO make sure any new changes are documented in docs/.
  • ✔️ DO add and modify seeds if necessary.
  • ✔️ DO add CHANGELOG upgrade notes if required.
  • ✔️ DO add to GraphQL API if there are new public fields.
  • ✔️ DO add link to MetaDecidim if it's a new feature.
  • AVOID breaking the continuous integration build.
  • AVOID making significant changes to the overall architecture.

♥️ Thank you!

Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

I've checked it locally, it fixed the original bug report. Thanks!

@andreslucena andreslucena added module: core type: fix PRs that implement a fix for a bug labels Mar 28, 2022
@andreslucena andreslucena requested a review from ahukkanen March 28, 2022 08:55
Copy link
Copy Markdown
Contributor

@ahukkanen ahukkanen left a comment

Choose a reason for hiding this comment

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

👍

@ahukkanen ahukkanen merged commit 1957e22 into decidim:develop Mar 29, 2022
@ahukkanen ahukkanen deleted the fix/dont_add_external_link_inside_editor branch March 29, 2022 07:18
@ahukkanen
Copy link
Copy Markdown
Contributor

@lahdeero Can you backport to 0.26 please?

lahdeero pushed a commit to mainio/decidim that referenced this pull request Mar 29, 2022
* Dont add external link inside editor

* Add test

* Fix typo

* Dont test same thing twice
entantoencuanto added a commit to PopulateTools/decidim that referenced this pull request Apr 5, 2022
* chore/meetings_optimization:
  Add touch:true to Follow association with followable
  Fragment cache meetings partial in meetings index
  Bump minimist and node-forge (decidim#9131)
  Bump puma from 5.6.2 to 5.6.4 (decidim#9132)
  Add base URI to meta image URLs (decidim#9125)
  Make Decidim fully configurable via ENV vars part II (decidim#8990)
  Allow assembly admins to manage components in child assemblies (decidim#8955)
  Export calendar improvements (decidim#9035)
  Add reminders for publishing reports to meeting authors (decidim#8757)
  VAPID key generator availabe in core (decidim#9107)
  Dont add external link container inside editor (decidim#9095)
@alecslupu alecslupu added this to the 0.27.0 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: core type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants