{"componentChunkName":"component---smooth-doc-smooth-doc-src-templates-doc-js","path":"/docs/editing-pages/rich-text-editor/","result":{"data":{"mdx":{"fields":{"pageType":"doc","title":"Rich Text Editor","editLink":""},"body":"var _excluded = [\"components\"];\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\nvar _frontmatter = {\n  \"title\": \"Rich Text Editor\",\n  \"section\": \"Editing Pages\",\n  \"description\": \"rich text editor\",\n  \"order\": 10\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h1\", {\n    \"id\": \"rich-text-editor\"\n  }, mdx(\"a\", {\n    parentName: \"h1\",\n    \"href\": \"#rich-text-editor\",\n    \"aria-label\": \"rich text editor permalink\",\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Rich Text Editor\"), mdx(\"br\", null), mdx(\"p\", null, \"Pages are rich-text documents that are editable. Pages may contain formatted text, images, hyperlinks, whole slide images, and various types of questions. Pages that are designated as \\u201Cgraded\\u201D will be included in the automated scoring calculations.\"), mdx(\"h2\", {\n    \"id\": \"formatting\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#formatting\",\n    \"aria-label\": \"formatting permalink\",\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Formatting\"), mdx(\"p\", null, \"The following formatting options are available in the editor:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Text styles (H1, H2, H3, quotes)\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Font styles (bold, underline, and italics)\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Quoted text\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Enumerated lists\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Bullet lists\")), mdx(\"h2\", {\n    \"id\": \"hyperlinks\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#hyperlinks\",\n    \"aria-label\": \"hyperlinks permalink\",\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Hyperlinks\"), mdx(\"p\", null, \"Hyperlinks can be useful to link to another page or module in PathcoreScholar, link to content from the Repository or to link to external resources.\"), mdx(\"details\", null, mdx(\"summary\", null, \" To create a hyperlink \"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Navigate to a page\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Highlight some text to be hyperlinked\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Click on the \", mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/scholar/manual/latest/8a38146ed1edee158bf1d9f17c45baea/rte-link.svg\",\n    \"alt\": \"Link\"\n  }), \" button in the rich text editor toolbar\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Type or paste the URL into the field that appears and press the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Enter\"), \" key\")))), mdx(\"details\", null, mdx(\"summary\", null, \" To delete a hyperlink \"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Navigate to a page\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Highlight the hyperlinked text\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Click on the \", mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"/scholar/manual/latest/8a38146ed1edee158bf1d9f17c45baea/rte-link.svg\",\n    \"alt\": \"Link\"\n  }), \" button to remove the hyperlink or press the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Delete\"), \" key on your keyboard to remove the text entirely\")))));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"url":"#rich-text-editor","title":"Rich Text Editor","items":[{"url":"#formatting","title":"Formatting"},{"url":"#hyperlinks","title":"Hyperlinks"}]}]}}},"pageContext":{"id":"b96c4369-f14b-5bba-9371-f96f1113f8b8"}},"staticQueryHashes":["1086510573","1106176283","1122327541","2140385554","2719290676","3597609067","4027383558"]}