canvas-lms/doc
Wagner Gonçalves 74238bfb96 fix editor guard and availability
Unify EDITOR_CONTENTS_GUARD and EDITOR_SELECTION_GUARD into EDITOR_GUARD
and add the correct availability to these variables in the expansion
plugin.

closes INTEROP-6679
flags=none

test-plan:
* after runing the  script/generate_lti_variable_substitution_markdown
  the doc/api/tools_variable_substitutions.md file should not be changed.
* generate the doc api again rake doc:api
* access the doc api documentation (http://canvas.docker/doc/api/) and
  check if availability of the variables com.instructure.Editor.contents
  and com.instructure.Editor.selection are correct;

Change-Id: Ib0a28a5c66f226f967139712799120290e4db4e7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/262250
QA-Review: Robin Kuss <rkuss@instructure.com>
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
Product-Review: Wagner Goncalves <wagner.goncalves@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2021-04-05 17:35:35 +00:00
..
api fix editor guard and availability 2021-04-05 17:35:35 +00:00
diagrams API doc update for a group assignment override 2013-02-08 11:50:54 -07:00
docker rails 6 spec error formatter fix, plus docs 2021-01-21 17:07:41 +00:00
examples Quiz Stats - Multiple Answers 2014-06-05 09:12:19 +00:00
images Store EULA agreement timestamp 2017-11-02 19:43:35 +00:00
lti_manual Add LTI launch index to LTI manual docs 2021-03-22 14:32:24 +00:00
styleguide Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
yard_plugins fix editor guard and availability 2021-04-05 17:35:35 +00:00
DEPRECATION.md api docs: add deprecation functionality + documentation 2018-08-16 18:27:55 +00:00
GraphQL Validation Errors.md graphql: add CreateGroupInSet mutation 2018-11-14 00:49:29 +00:00
high_level.txt remove non-draft-state everything 2014-12-10 17:57:18 +00:00
js_code_coverage.md fix JS job sanity around COVERAGE var 2021-01-27 16:24:14 +00:00
live_events.md add user_sis_id and user_login to live events 2019-09-12 16:33:42 +00:00
testing_javascript.md update JS testing docs 2021-01-06 22:47:53 +00:00
testing_with_selenium.md Support running against headless chrome, fix flakey spec 2021-01-12 16:27:14 +00:00
using_guard_rail_in_development.md Always use primary DB when doing LTI assignment fixups 2021-02-09 21:08:14 +00:00
working_with_webpack.md require yarn, not npm 2017-08-14 15:27:14 +00:00