简体   繁体   English

如何找出默认情况下Telerik的RADeditor使用哪种皮肤?

[英]how do I find out which skin Telerik's RADeditor is using by default?

In firebug under "Style" its showing the css file as follows when I hover mouse over RadEditor 在Firebug中的“样式”下,当我将鼠标悬停在RadEditor上时,其显示css文件如下

"http://localhost/myWeb/WebResource.axd?d=WSPnt1ffDvgb4bj2Ii5nA4MecfZdsnZ0wvgLy3HVcihYTy2nMTq7iIu8RlAb7ZMF61e07jisMUNhQZabIxK2kyuxNpeCFqhE3cgnDSm1-Pc1&t=634237829795625000"

In telerik:RadEditor tag ..I haven't specified any property such as Skin=Skin1 or whatever..so its using some default skin...In the Skins folder..there's this folder named "Default" that's got images and css files...Is "Default" what it's using ??? 在telerik:RadEditor标记中..我没有指定任何属性,例如Skin = Skin1或其他任何内容。因此,它使用某些默认皮肤...在Skins文件夹中..此文件夹名为“ Default”,具有图像和CSS文件...是“默认”使用的是什么??? now when I change something in the Default skin's CSS file...changes do not reflect on my page...so how do I find out which css its using ??can't figure out nothing from a path like that 现在当我更改默认外观的CSS文件中的内容时...更改不会反映在我的页面上...所以我如何使用这样的方式找出哪个CSS却无法从类似的路径中找出任何内容

[edit] [编辑]

For this Editor mainly 3 css files are being used namely Editor.Default.css,Window.Default.css and ToolBar.Default.css..now when I view page source , I can't find refernce to any of these 3 css files...Also in firebug , under "Styles" where that weird css path is shown, its displaying CSS classes like .reToolbar , etc...now ALL the Skins' CSS files have got this CSS class ".reToolbar" ..so how to find out which CSS file's class is this particular ".reToolbar class" ?? 对于此编辑器,主要使用了3个CSS文件,即Editor.Default.css,Window.Default.css和ToolBar.Default.css..now。当我查看页面源代码时,找不到这3个CSS文件中的任何一个...也在firebug中,在显示奇怪的css路径的“样式”下,它显示的CSS类(如.reToolbar等)...现在,所有Skins的CSS文件都具有此CSS类“ .reToolbar” .. so如何找出哪个CSS文件的类是此特定的“ .reToolbar类”?

You can identify the skin used by RadEditor by finding its tag, eg: 您可以通过找到RadEditor的标签来识别其皮肤,例如:

The link tag rendered contains the URL of the WebResource (eg the skin css, that is embedded in the Telerik.Web.UI assembly). 呈现的链接标记包含WebResource的URL(例如,嵌入在Telerik.Web.UI程序集中的外观css)。 To make RadEditor use your skin you should set its EnableEmbeddedSkins property to false and then include a tag with the URL to your CSS file. 要使RadEditor使用您的皮肤,应将其EnableEmbeddedSkins属性设置为false,然后在CSS文件中包含带有URL的标记。

There is some more information in the Telerik Online Documentation . Telerik在线文档中提供了更多信息。

Cheers 干杯

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM