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
LPS-116201 Update liferay-ckeditor version in portal and implement changes to make it fit with new skin #66
Changes from all commits
39ffe68
fe7e707
6679031
a5fe064
fd3105c
1887229
20afa62
f68f248
fc51c83
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,31 +60,12 @@ public void populateConfigJSONObject( | |
HtmlUtil.escape( | ||
PortalUtil.getStaticResourceURL( | ||
themeDisplay.getRequest(), | ||
"/o/frontend-css-web/main.css"))) | ||
"/o/frontend-editor-ckeditor-web/ckeditor/skins" + | ||
"/moono-lexicon/editor.css"))) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Interesting that we need this here... 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need this here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let me check again There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So how did it use to work before? Were we also adding the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, wait, before applying the new styles we were not passing any |
||
).put( | ||
"contentsLangDirection", | ||
HtmlUtil.escapeJS( | ||
getContentsLanguageDir(inputEditorTaglibAttributes)) | ||
).put( | ||
"contextmenu_contentsCss", | ||
JSONUtil.putAll( | ||
HtmlUtil.escape( | ||
PortalUtil.getStaticResourceURL( | ||
themeDisplay.getRequest(), | ||
themeDisplay.getPathThemeCss() + "/clay.css")), | ||
HtmlUtil.escape( | ||
PortalUtil.getStaticResourceURL( | ||
themeDisplay.getRequest(), | ||
themeDisplay.getPathThemeCss() + "/main.css")), | ||
HtmlUtil.escape( | ||
PortalUtil.getStaticResourceURL( | ||
themeDisplay.getRequest(), | ||
"/o/frontend-editor-ckeditor-web/ckeditor/skins" + | ||
"/moono-lisa/editor.css")), | ||
HtmlUtil.escape( | ||
PortalUtil.getStaticResourceURL( | ||
themeDisplay.getRequest(), | ||
"/o/frontend-css-web/main.css"))) | ||
); | ||
|
||
String contentsLanguageId = getContentsLanguageId( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really needed? I'd expect CKEditor to load this automatically when passing in a different skin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked, we don't need this :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we set the skin to be the default in our build process in
liferay-ckeditor
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep https://github.com/liferay/liferay-ckeditor/blob/master/support/build-config.js#L9