Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs: Added links to demos. See ckeditor/ckeditor5#1256.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Sep 25, 2018
1 parent 0b1aebd commit e4b8417
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ CKEditor 5 basic styles feature

This package contains CKEditor 5 features allowing to apply basic text formatting such as bold, italic, underline and code in CKEditor 5.

## Demo

Check out the [demo in the Basic styles feature](https://ckeditor.com/docs/ckeditor5/latest/features/basic-styles.html#demo) guide.

## Documentation

See the [`@ckeditor/ckeditor5-basic-styles` package](https://ckeditor.com/docs/ckeditor5/latest/api/basic-styles.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
Expand Down
4 changes: 4 additions & 0 deletions docs/api/basic-styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ category: api-reference

This package contains features allowing to apply basic text formatting such as bold, italic, underline, strikethrough and code in CKEditor 5.

## Demo

Check out the {@link features/basic-styles#demo demo in the Basic styles feature} guide.

## Documentation

See the {@link features/basic-styles Basic styles feature} guide.
Expand Down
6 changes: 4 additions & 2 deletions docs/features/basic-styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ category: features

The {@link api/basic-styles basic styles} package provides text formatting features such as bold, italic, underline, strikethrough and code.

## Demo

{@snippet features/basic-styles}

## Available text styles

| Style feature | {@link framework/guides/architecture/core-editor-architecture#commands Command} name | {@link builds/guides/integration/configuration#toolbar-setup Toolbar} component name | Output element |
Expand All @@ -21,8 +25,6 @@ The {@link api/basic-styles basic styles} package provides text formatting featu
{@link module:basic-styles/bold~Bold} and {@link module:basic-styles/italic~Italic} are available out–of–the–box in most of the {@link builds/guides/overview editor builds}.
</info-box>

{@snippet features/basic-styles}

### Supported input

By default, each feature can upcast more than one type of the content. Here's the full list of elements supported by each feature, either when pasting from the clipboard, loading data on start or using the {@link module:core/editor/utils/dataapimixin~DataApi#setData data API}.
Expand Down

0 comments on commit e4b8417

Please sign in to comment.