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: make text wrap in codemirror plugin #136

Merged
merged 1 commit into from
Oct 13, 2020
Merged

Conversation

julien
Copy link
Contributor

@julien julien commented Oct 13, 2020

In 5de7cdb and 1783acf we intended to fix text wrapping in the
codemirror (source view) plugin but this was apparently missing

Test plan:

  • Fetch this branch and build liferay-ckeditor with

    ./ck.sh build
  • Use the previously built version of liferay-ckeditor in DXP

  • Deploy the frontend-editor-ckeditor-web OSGi module

  • Navigate to Instance Settings > Email

  • Assert that the editors wrap text correctly

Before

before

After

after

In [5de7cdb](liferay/liferay-portal@5de7cdb),
and [1783acf](liferay/liferay-portal@1783acf)
 we intended to fix line wrapping in the codemirror (source view) plugin but this was
apparently missing

**Test plan**:
- Fetch this branch and build `liferay-ckeditor` with

    ```sh
    ./ck.sh build
    ```

- Use the previously built version of `liferay-ckeditor` in DXP
- Deploy the `frontend-editor-ckeditor-web` OSGi module
- Navigate to **Instance Settings** > **Email**
- Assert that the editors wrap text correctly
@wincent
Copy link
Contributor

wincent commented Oct 13, 2020

In 5de7cdbed7e7e9b50cd5e77d5dc020e137b104a3,
and 1783acf68ee470fa79619462e8c2df6f9ec39d4a
we intended to fix text wrapping in the codemirror (source view) plugin but this was
apparently missing

The links are broken (porting at liferay-portal instead of this repo). If you just go with SHA-1s, GitHub will autolink them anyway; eg:

(And abbreviate them... those are just 40-char SHA-1 hashes, but GitHub shortens them when rendering.)

Copy link
Contributor

@wincent wincent left a comment

Choose a reason for hiding this comment

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

Apart from broken links in the message, lg2m.

@julien
Copy link
Contributor Author

julien commented Oct 13, 2020

@wincent thanks I've fixed those links

@julien
Copy link
Contributor Author

julien commented Oct 13, 2020

going to merge this and prepare a release

@julien julien closed this Oct 13, 2020
@julien julien reopened this Oct 13, 2020
@julien julien merged commit 92766cb into liferay:master Oct 13, 2020
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