Speaker Deck

The Speaker Deck embed block will allow users to embed their own slides/presentation in their post/page. Users need to create an account to upload their own slides/presentation on Speaker Deck. You don’t need a Speaker Deck account to embed a presentation, although it needs to be public.

Embedded Speaker Deck Slide

Steps to Embed a slide from Speaker Deck 

  1. Find the URL of your Speaker Deck slide

          Log in to your Speaker Deck account and visit the My Decks menu to get your all decks 

Open the deck that you want to embed. After that Copy the link from the browser address bar.

  1. Add the Speaker Deck block from the block list 
  1. Paste the Deck link into the URL box 
  1. Click the “Embed” button

If it’s a link that can be successfully embedded you will see a preview in your editor.

  1. If you use a URL that can’t be embedded, the block shows the message “Sorry, this content could not be embedded.” You will have two choices: Try again with a different URL or convert to link.

Block Toolbar

Besides the Mover and Drag & Drop Handle, the Block Toolbar for the Speaker Deck embed shows four buttons:

  • Transform to
  • Change alignment
  • Edit URL, and
  • More Options. 

Transform to:

You can transform a Speaker Deck embed to a Group. This would give you the ability to change the background color around the Speaker Deck embed.

Gallery Caption Text

Left: Editor view of an Speaker Deck Embed as a group with Color Settings controls

Right: Speaker Deck embed with a green background.

Change Alignment – use reusable Block 

  • Align left – Make the Speaker Deck post left aligned
  • Align center – Make the Speaker Deck post alignment centered
  • Align right – Make the  Speaker Deck] post align right
  • Wide width – Increase the width of the post beyond the content size
  • Full width – extend the Speaker Deck post to cover the full width of the screen.

“Wide width” and “Full width” alignment need to be enabled by the Theme of your site. 

Edit URL

Via the edit URL, you can change the Speaker Deck Embed URL in the embed block. Overwrite the existing URL and click on the “Embed” Button.

More Options:

Hide Block Settings

The Hide Block Settings option hides (or shows) the Block Setting panel in the editor’s sidebar.

Copy

Copy can be used to copy a selected block and then you can paste it wherever you want in the editor.

Duplicate

Duplicate can be used to duplicate selected block.

Insert Before

Insert a new block before the selected block(s).

Insert After

Insert a new block after the selected block(s).

Move To

If you select Move To, you will get a blue line inside your content, you can then use the arrows to move that line up and down to where you want the selected content to be moved into, hitting return on your keyboard at that point moves the block to that position.

Edit as HTML

The Edit as HTML option allows you to modify the HTML code of the embed block.

Add to Reusable blocks

Using the Add to Reusable blocks option lets you add the selected block to a list of reusable blocks, so you can use them on other posts or pages as well.

Group

Select the Group option if you want to create a group of blocks and treat them as a unit. You can for instance add a common background color or other blocks to the group.

Remove Block

With the Remove Block option, you can delete the selected block from your content.

Block Settings 

Besides the Advanced section, the Speaker Deck embed has only one setting in the “Block Settings” sidebar: Media Settings.

Media Settings

Via the Media Settings you can control the behavior of your post embed when viewed from a smaller device, like on a phone screen.

The Toggle switch turns on or off the resize functionality for smaller devices. The default setting is “on” or blue.

“Off:” This embed may not preserve its aspect ratio when the browser is resized. In the off position the toggle switch is gray.

“On:” This embed will preserve its aspect ratio when the browser is resized. The toggle switch turns blue in the “On” position.

Advanced

The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit.

The advanced section lets you add a CSS class to your block.

Changelog

  • Updated 2020-09-04
    • Screenshots updated to 5.5
  • Updated 2020-08-19
    • Replaced “More Options” – new screenshot
    • Added “Move To” and “Copy” section under More Options
  • Updated 2020-08-11
    • Screenshots as per WordPress 5.5
    • Embedded VideoPress video
  • Created 2020-07-27

原文

この記事は役に立ちましたか ? どうすればさらに改善できますか ?