Skip to content
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

FIX - Links: Can't add plain text after insert link at end of paragraph #4280

Closed
wants to merge 1 commit into from

Conversation

tg-ephox
Copy link
Contributor

@tg-ephox tg-ephox commented Jan 4, 2018

Description

Expanded the test for link boundaries to include any type of inline boundary by testing for the presence of the '\uFEFF' character in the text content.

fixes: #1246

How Has This Been Tested?

Manually in browser

Screenshots (jpeg or gifs if applicable):

Types of changes

Bug fix

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation.

Copy link
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

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

This makes sense and resolves the issue where creating a new paragraph split from inside a code block keeps code styling.

Still all of the "Also behaves quite strangely where:" points are problematic from #1246 (comment), but can be addressed separately. Do you want me to create standalone issues for them?

@tg-ephox
Copy link
Contributor Author

tg-ephox commented Jan 8, 2018

@aduth I should have mentioned that I'm still looking at the other issues. I think what needs to happen is that when the split occurs right before the inline boundary character that it needs to stay with the 'before' nodes...

@gziolo
Copy link
Member

gziolo commented May 10, 2018

This one seems to be abandoned.

@aduth, @iseulde - is it still an issue or should it be closed?

@gziolo gziolo added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label May 10, 2018
@aduth
Copy link
Member

aduth commented May 10, 2018

This is very out of date, and the original issue is now tracked at #5095. #6467 also offers an alternative updated fix here.

@aduth aduth closed this May 10, 2018
@aduth aduth deleted the fix/1246-inline-boundaries branch May 10, 2018 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Links: Can't add plain text after insert link at end of paragraph
3 participants