Christian-Delgado / course-builder

Automatically exported from code.google.com/p/course-builder
0 stars 0 forks source link

In-page anchors not working #79

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to a lesson
2. Insert an anchor and an anchor tag
ex. <a href="#gceshoppingpreso">some text</a>
<id="gceshoppingpreso">
3. Save

What is the expected output? What do you see instead?
When I click on "Some Text", I expect the page to jump down to my anchor. 
Instead, it is re-loading the page and jumping to the home page. 

Linking to an anchor in Course Builder is only working when I insert the full 
link such as <a 
href="https://gbo-onboarding.googleplex.com/SMB_Sandbox/unit?unit=91&lesson=92#g
ceshoppingpreso">some text</a>

The bad thing about this is that it reloads the page.

What version of the product are you using? On what operating system?
CB 1.6 (PeopleDev customized version)
OS 10.10.3

Please provide any additional information below.

Original issue reported on code.google.com by sba...@google.com on 23 Jun 2015 at 9:36

GoogleCodeExporter commented 8 years ago
I realized I put my id tag incorrectly in this Bug, however, I am doing it 
correctly in Course Builder. Please try to put an in-page anchor and let me 
know if it is user error or a bug. Thanks so much.

Original comment by sba...@google.com on 23 Jun 2015 at 9:41

GoogleCodeExporter commented 8 years ago
The workaround is:
1) Copy the URL (from the student's perspsctive) of the page you want to add 
the in page link.
2) In the Rich Text Editor, add the anchor text.
3) Highlight the text.
4) Click the Link icon under "Insert Item"
5) Paste the URL in the "Link URL" box and add your fragment to the end of the 
URL.
  E.g.: if your name is "marbles" then you might add
    appspot.com/example/unit?unit=7&assessment=4#marbles
6) Close the Link Options box
7 Click "Save"

I will leave this issue as is and change this issue to an enhancement so the 
faster, manual type works.

Original comment by r...@google.com on 28 Jul 2015 at 5:41

GoogleCodeExporter commented 8 years ago

Original comment by r...@google.com on 28 Jul 2015 at 5:41