Skip to content

Commit 01d4377

Browse files
authored
kb(editor): add an article
1 parent 6b5f7a7 commit 01d4377

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

controls/editor/how-to/print-content-with-styles.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Fortunately, there is a workaround for this:
3636

3737

3838
````JavaScript
39-
<script type="text/javascript">
39+
<script type="text/javascript">
4040
Telerik.Web.UI.Editor.CommandList["CustomPrint"] = function (commandName, editor, args) {
4141
var printIframe = document.createElement("IFRAME");
4242
document.body.appendChild(printIframe);
@@ -75,7 +75,6 @@ Fortunately, there is a workaround for this:
7575
1. To add an icon to the CustomPrint button add the following style in your page:
7676

7777
````CSS
78-
7978
<style>
8079
.reCustomPrint {
8180
background-image: url(https://demos.telerik.com/aspnet-ajax/editor/examples/customtools/Icons/Custom.gif) !important;
@@ -94,7 +93,7 @@ Fortunately, there is a workaround for this:
9493
You can find a good resource on how to print CSS styles on the Internet. You can see the following articles which we have chosen for you:
9594

9695
* [Introduction to media types](https://www.w3.org/TR/REC-CSS2/media.html)
97-
9896
* [Print Different](http://www.meyerweb.com/eric/articles/webrev/200001.html)
97+
* [Print Content when using Div ContentAreaMode]({%slug editor/how-to/print-content-div-contentareamode %})
9998

10099

0 commit comments

Comments
 (0)