This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #240 from ckeditor/t/236,239
Docs: Enabled text wrapping to the new line in the decorators demo output. Simplified the markup of the decorators demo in the link feature guide. Closes #236. Closes #239.
- Loading branch information
Showing
2 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
<div id="snippet-link-decorators"> | ||
<p> | ||
An <a href="https://ckeditor.com">external page</a> and a | ||
<a download="download" href="https://cdn.ckeditor.com/ckeditor5/12.2.0/classic/ckeditor.js">downloadable resource</a>. | ||
</p> | ||
</div> | ||
<!-- Used a textarea because of https://github.com/ckeditor/ckeditor5-link/pull/240#issuecomment-509269480 --> | ||
<textarea id="snippet-link-decorators"> | ||
<p> | ||
An <a href="https://ckeditor.com">external page</a> and a | ||
<a download="download" href="image.png">downloadable resource</a>. | ||
</p> | ||
</textarea> | ||
|
||
<pre class="highlight"> | ||
<code class="html hljs" id="output-link-decorators"></code> | ||
</pre> | ||
|
||
<style> | ||
/* | ||
* The output is easier to read when it wraps to the next line. | ||
* See https://github.com/ckeditor/ckeditor5-link/issues/236. | ||
*/ | ||
#output-link-decorators { | ||
overflow: hidden; | ||
white-space: normal; | ||
word-break: break-all; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters