Skip to content

Commit

Permalink
Updates CSS. We'll begin slowly processing new css into our new format.
Browse files Browse the repository at this point in the history
  • Loading branch information
JSchreff committed Feb 20, 2024
1 parent 9255cf5 commit be61b4a
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 50 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.ck.ck-content, outline-core-ckeditor {
display: block;

@nested-import './outline-core-ckeditor-starterkit.css';

}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* This CSS file provides a set of good default styles for integrating CKEditor within a Drupal environment. It ensures consistent styling and behavior of the WYSIWYG editor across the platform. */
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* This section is reserved for variables imported from Figma or other design tools.
These variables should be connected to all other CSS files for consistent styling across the platform. */
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ import { customElement } from 'lit/decorators.js';
// Our base component, which all others extend.
import { OutlineElement } from '@phase2/outline-core';

import componentStyles from './outline-core-ckeditor.css.lit';
import globalStyles from './outline-core-ckeditor-imports.css?inline';
import { AdoptedStylesheets } from '@phase2/outline-adopted-stylesheets-controller';


import { checkFileType } from './utilities/check-file-type';
import { externalLinkText } from './utilities/external-link-text';
import { tooltipLink } from './utilities/tooltip';
import { wrapLastWord } from './utilities/wrap-last-word';

wrapLastWord;
// wrapLastWord;

/**
* The Outline Core Styled Text component
Expand All @@ -22,8 +24,13 @@ wrapLastWord;
* Lightdom styles in outline-core-ckeditor.lightdom.css included in /shared.css
*/
@customElement('outline-core-ckeditor')
export class OutlineCoreCkeditor extends OutlineElement {
static styles: CSSResultGroup = [componentStyles];
export class OutlineCoreCkeditor extends OutlineElement
// static styles: CSSResultGroup = [componentStyles];
{
GlobalStylesheets: AdoptedStylesheets | undefined = new AdoptedStylesheets(
this,
globalStyles
);

connectedCallback(): void {
super.connectedCallback();
Expand Down

0 comments on commit be61b4a

Please sign in to comment.