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

Docs: Fix table styling example having wrong structure #16756

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

steffunky
Copy link

Suggested merge commit message (convention)

Docs table: Fix table styling example having wrong structure


Additional information

If you use the current example in the documentation you'll get this error when building:

ERROR in /srv/http/iTop/js/ckeditor/src/ckeditor.ts
219:16-225:17
[tsl] ERROR in /srv/http/iTop/js/ckeditor/src/ckeditor.ts(219,17)
      TS2322: Type '{ defaultProperties: { borderStyle: string; borderColor: string; borderWidth: string; alignment: string; width: string; height: string; }; tableCellProperties: { defaultProperties: { horizontalAlignment: string; verticalAlignment: string; padding: string; }; }; }' is not assignable to type 'TablePropertiesConfig'.
  Object literal may only specify known properties, and 'tableCellProperties' does not exist in type 'TablePropertiesConfig'.
ts-loader-default_e3b0c44298fc1c14

Fixing the example structure allows to build and to set the default table style to CKEditor build

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.

1 participant