Browse by Topic

Using the WYSIWYG Editor

The WYSIWYG (What You See Is What You Get) editor is used to add content to web pages, banners, and categories. It is used to add or edit your store's content without touching code. It will not edit theme files or change theme styling.

WYSIWYG Editor

 

Storefront look different than the Editor? The WYSIWYG editor does not take into account any CSS styling or scripts the theme may apply to your content. What you see in the editor is not always how it appears on the storefront. To get it looking the way you want may require editing Stencil Theme files or customizing legacy Blueprint Template Files.

 
 

Formatting Text

The text formatting options available in the WYSIWYG editor are similar to common word processing programs. They can apply basic text decoration, style, font, size, and alignment.

Text formatting options

Additionally, there are buttons for bulleted lists, numbered lists, indent, outdent, text color, and highlight color.

Bulleted list options

 
 

Creating Links

To create a link, select the piece of text or image to be linked, then click the appropriate link button. There are three types of links that you can create:

 

Link

The Insert Link button

Use the Insert/Edit Link button to link to a URL that is not part of your BigCommerce domain, or to an anchor on the same page. The Unlink button will remove links from an already linked piece of text or image.

Tabs inside the Insert / Edit link popup window

The General tab allows you to define general properties:

  • Link URL — web address to link to
  • Target — determines if the link opens in the current window/tab, or opens in a new one
  • Title — text to display when someone hovers their cursor over the link
  • Class — apply a custom CSS style

The Popup tab allows you to create a pop-up window:

  • JavaScript Popup — determines if the Popup URL will open in a new independent window. If unchecked, the Popup URL will open in a new standard window or tab.
  • Popup URL — the web address to pop open when clicked
  • Window Name — repurpose an existing pop-up window by giving it a name
  • Size — dimensions of the pop-up window in pixels
  • Position — X and Y coordinates of where on the screen the top left corner of the pop-up window will open. Enter c for both values to automatically center the pop-up window.
  • Options — determine whether specific browser elements are a part of the pop-up window, such as the location bar, status bar, or scroll bars

The Events tab allows you to execute JavaScript based on specific user behavior.

 

Be careful! The BigCommerce Technical Support team cannot troubleshoot issues related to custom scripting.

The Advanced tab allows you to define a custom ID, style, and class for a link. It also has some lesser-used fields for determining aspects of a link like language and encoding type.

Store Link

The Insert Store Link button

Link to store is used to link to an existing product, category, brand, or web page in your store.

LInk to Store menu

 

Anchor

The Anchor button

The Insert/Edit Anchor button is used to jump to a specific location on the same page. Use this button to name the anchor, then create a link with the Insert/Edit Link button. Instead of specifying a Link URL, select your newly created anchor from the dropdown.

Inserting or Editing anchors

 
 

Adding Images

Use Insert/Edit Image to include an image in the page content or description.

The Insert or Edit image button

The General tab presents several options for selecting an image:

  • Upload image — hoose an image from your hard drive by using the Browse or Choose File button
  • Image URL — link to a remotely hosted image by entering its URL
  • Image from gallery — select an image that has been uploaded via the Image Manager

Uploading an image from the General tab

The Appearance tab includes settings for alignment, dimensions, spacing, border, custom styling, image description, and title.

The Appearance tab

The Advanced tab has options for swapping the image for another based on mouse behavior, and includes miscellaneous options for setting a custom image ID, designating language settings, utilizing an image map, and including a long description link.

The Advanced tab

 
 

Adding Video and Other Media

Use Insert Video to embed a video from:

  • YouTube
  • Vimeo
  • Metacafe
 

Note: When pasting a YouTube video URL, you must use the full URL, not the shortened (youtu.be) version.

Insert a video button

Use Insert/Edit Embedded Media to embed additional media.

The Insert/Edit Embedded Media button

Seven types of media may be embedded, including:

The Advanced tab contains additional options specific to each media type.

Advanced media options tab

The Source tab will display the code used to embed the element. Use it to paste in embed code from a third party, or manipulate code created by the editor.

 
 

Creating Tables

Use Insert/Edit Table to create an HTML table.

The Insert/Edit table button

The General tab contains basic settings for the number of columns and rows, size, alignment, border thickness, and cell padding and spacing.

The General tab

The Advanced tab contains additional settings for the background and border color, language direction, and custom styling.

Advanced Tables tab

When an existing table is selected, additional table-specific buttons are available.

The Table Row Properties and Table Cell Properties buttons apply settings specific to individual rows or cells, respectively.

Table Row and Cell properties button

There are buttons to Insert and Delete specific Rows and Columns.

Insert and Delete Rows and Columns button

Combine cells or break up combined cells using the Split and Merge Table Cells buttons.

Split and Merge Table Cells button

 
 

Additional Options

The Undo and Redo buttons work similar to other programs, allowing you to undo the previous action, or redo it when applicable.

Undo and Redo buttons

Toggle Full Screen Mode will expand the editor to fill the browser window.

Toggle Full Screen Mode

In addition to standard Cut, Copy, and Paste buttons, the editor includes several advanced options. Paste as Plain Text will paste copied content without formatting, and Paste from Word will preserve formatting when content is copied from Microsoft Word.

Cut, copy, and paste buttons

Clean Up Messy Code will attempt to clean up minor code problems such as missing opening and closing tags in HTML code copied into the editor.

Clean Up MEssy Code button

 

Be careful! This function will only fix minor syntax errors; it is not a fix for major custom coding issues. If you're having trouble or not sure where to start looking, reach out to one of our partners for assistance.

Insert Page Break for Printing will insert a forced page break when necessary.

Insert Page Break button

Edit HTML Source allows direct access to the content's HTML to add, edit, or remove code. You'll want to use this button to paste in or write any custom code. If the editor is used, it will attempt to format it as content, which will likely break the code.

Edit HTML source button

 
 

FAQ

What image file types does the WYSIWYG accept?

For images to work on the site, use JPG, GIF, or PNG images.

Can I change the theme with WYSIWYG?

No, he WYSIWYG editor only affects content added to a page. To adjust a theme's code or CSS, see Stencil Themes for resources on editing a theme.

Will the CSS in a theme override changes made in the WYSIWYG editor?

Themes will prioritize changes made in the WYSIWYG editor. For example, if you change the color of some of the text or links, the theme will respect that color instead of forcing its link colors. If a color is not specified, it will default to the theme's settings for those colors.

Are there any keyboard shortcuts?

Press Shift Enter when typing to insert a line break and continue typing on the immediate next line (single-spaced). Pressing Enter at the end of a line creates a new paragraph. Ctrl Z or Cmd Z will undo, Ctrl Y or Cmd Y will redo a step. The keyboard shortcuts for copy, cut, and paste will also work.

How do I add an email link?

When creating a link to an email address, include mailto:name@domain.com in Link URL. Replace name@domain.com with the email address you want to link to.

Can other media be added to a page?

Media files can be uploaded and added via HTML. Follow the instructions on Uploading and Linking to a File in Your Store.

Is there an easy way to adjust table size?

It's possible to change the size of an existing table by selecting it, then dragging one of its edges.

Is it possible to create a page with HTML?

Yes, you can build all the content of a page with the Edit HTML Source button.

Is web page content exportable?

No. Web page content is not exportable in BigCommerce. If you plan on moving your website, back up your web pages' content by downloading their HTML source code to your local computer or device, or use a backup-and-restore app like Rewind to back up your web pages, products (with descriptions), and categories.

Can I disable the WYSIWYG editor?

Yes. Go to SettingsGeneral and click the Display tab. Scroll down to Control Panel, where you can enable or disable the WYSIWYG editor throughout the control panel.

Was this article helpful?