Paste Processing - ASP.NET MVC HTML Content Editor Demo

...x
No results found for . All Demos All Demos
  • Grid View
  • Diagram
  • Gantt
  • Reporting
  • Charting
  • Pivot Grid
  • Spreadsheet
  • Rich Text Editor
  • Scheduling
  • Tree List
  • Card View
  • Navigation and Layout
  • Collapse HTML Editor
    • Introduction
    • Collapse Features
      • Html Editing
      • Paste Formatting
      • Html Highlighting
      • Binary Image Auto Upload
      • Full Page Edit Mode
      • Tables
      • Placeholders (Mail Merge)
      • Paste Processing
      • Content Element Filtering
      • Validation
      • Import/Export
    • Expand Dialogs
      • Insert Media Content
      • Find and Replace
      • Image Selector
      • Image Upload Processing
      • Spell Checking
      • Custom Dialogs
    • Expand Toolbars and UI
      • Context Menu
      • External Ribbon
      • Ribbon Context Tabs
      • Tag Inspector
      • Toolbar Mode
    • Expand Toolbar Items
      • Custom CSS
      • Custom Toolbar Items
    • Expand Client-Side API
      • Manual Paste Formatting
  • Vertical Grid
  • Data Editors
  • Dock and Modal Popups
  • File Management and Upload
  • Image and Data Navigation
  • Multi-Use Site Extensions
  • Spell Checker
Version: v2025 vol 1.5 Copyright © 2006-2025 Developer Express Inc Buy Now Free Trial Change Theme Settings
  • Home
  • HTML Editor
  • Paste Processing
Change Theme Settings Themes
Show All Themes
Base Color
v
Font
...v
Paste Processing
  • Cut (Ctrl+X)
  • Copy (Ctrl+C)
  • Paste (Ctrl+V)
  • Paste from Word
  • Undo (Ctrl+Z)
  • Redo (Ctrl+Y)
  • Remove Format
  • Superscript
  • Subscript
  • Ordered List
  • Bullet List
  • Indent
  • Outdent
  • Insert Link (Ctrl+K)
  • Remove Link (Ctrl+Shift+K)
  • Insert Image (Ctrl+G)
  • Insert Table v
  • Find and Replace (Ctrl+H)
  • Full Screen (F11)
  • Insert Table...Insert Table...
  • Table PropertiesTable Properties...
  • Row PropertiesRow Properties...
  • Column PropertiesColumn Properties...
  • Cell PropertiesCell Properties...
  • Insert Row AboveInsert Row Above
  • Insert Row BelowInsert Row Below
  • Insert Column to the LeftInsert Column to the Left
  • Insert Column to the RightInsert Column to the Right
  • Split HorizontallySplit Horizontally
  • Split VerticallySplit Vertically
  • Merge RightMerge Right
  • Merge DownMerge Down
  • Delete TableDelete Table
  • Delete RowDelete Row
  • Delete ColumnDelete Column
  • v
  • v
  • v
  • Bold (Ctrl+B)
  • Italic (Ctrl+I)
  • Underline
  • Strikethrough
  • Align Left (Ctrl+L)
  • Align Center (Ctrl+E)
  • Align Right (Ctrl+R)
  • Back Color v
  • Fore Color v
  • Design
  • Design
  • HTML
  • HTML
  • Preview
  • Preview
Close Collapse/Expand
x
OK OK
Close Find and Replace
Find:
x
Replace with:
Results:
Match case
{0} entries have been replaced.{0} of {1} entries are replaced...
Replace All Replace Previous Next
Close Header
  • Cut
  • Copy
  • Paste
  • Change Placeholder...
  • Change Link...
  • Change Image...
  • Change Audio...
  • Change Video...
  • Change Flash...
  • Change YouTube Video...
  • Table Properties...
  • Row Properties...
  • Column Properties...
  • Cell Properties...
  • Insert Row Above
  • Insert Row Below
  • Insert Column to the Left
  • Insert Column to the Right
  • Split Horizontally
  • Split Vertically
  • Merge Right
  • Merge Down
  • Delete Table
  • Delete Row
  • Delete Column
  • Comment
  • Uncomment
  • Collapse Tag
  • Expand Tag
  • Format Document
  • Select All
Settings
AllowSaveBinaryImageToServer
ProcessRtfContentPastingOnServer
Paste Filtering Style Attributes:
font-sizefont-family
Style Attribute Filter Mode:
v
Apply Changes
  • <
    • Description
    • Description
    • Controller
    • Controller
    • Controller (common)
    • Controller (common)
    • View
    • View
    • View (PasteProcessingPartial)
    • View (PasteProcessingPartial)

The DevExpress ASP.NET MVC HTML Editor (HtmlEditorExtension) can process HTML content copied/pasted from another application (for example, Microsoft Word).

Use the following settings to format the pasted content:

  • AllowSaveBinaryImageToServer - Specifies whether a pasted image is saved to the server and its generated URL used in HTML, or if it is processed as a base64 image.
  • ProcessRtfContentPastingOnServer - Specifies whether to process the copied/cut RTF content on the server side. Using the RtfContentPastingProcessed event allows processing the HTML obtained from the copied/cut RTF before pasting it to the HtmlEditor extension.
  • StyleAttributeFilterMode - Specifies the filtering mode for the Html Editor's style attributes defined by the StyleAttributeFilter property.
  • StyleAttributeFilter - Specifies the list of allowed/unallowed style attributes depending on the filtering mode defined by the StyleAttributeFilterMode property.

In this demo, use the options on the right to see how these options affect the pasted content.

Collapse/Expand Local Copy of this DemoTo inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher). Open CS Solution The source code files for this demo are installed (by default) in the following directory:\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxHTMLEditorDemos

Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support). All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee. To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at [email protected] or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.

Từ khóa » Html Editor Image Copy Paste