Comments (10)
I think DocFx is sanitizing the onclick
in general to open those links. Probably should just switch to regular links
from globalization.
nschonni is correct -- the Docs build is now stripping the javascript that makes these work.
Switching to regular link will create a poor experience if that's all that is done. Each of the keyboard implementations will need to be changed to provide a better layout in the context of an independent page, and also include a link back to windows-keyboard-layouts. I'm also concerned that the docs system will break these html pages. Need more investigation/support from Docs support.
from globalization.
Alternately, since those layouts are small, they could be added into the table, but that might cause a whole other set of problems
from globalization.
That won't work because the docs platform wills trip out the javascript that makes them work. We could perhaps show static pictures, but they can't convey the key state changes.
from globalization.
I think it allows <iframe>
embeds, which could potentially keep the JS. Not saying it's a good idea, just throwing it out there
from globalization.
@nschonni @PaulGor
We went with @nschonni 's suggestion and are using iframe embeds for now. We do need to take a longer look at how these keyboard snippets are generated, but for now the keyboards are usable again.
BTW, I apologize for not responding to this thread sooner - we had the keyboards "working" again in January, but the solution was pretty ugly.
from globalization.
from globalization.
Hi @PaulGor,
That's interesting... So far I have validated the behavior on Edge and Chrome both inside and outside of the Microsoft firewall and everything is displaying correctly. What should happen is first you should get a message that the keyboard is loading:
then the keyboard is displayed:
I don't think that it is as simple as having Javascript disabled in your browser as that would have a much bigger effect.
If you open developer tools in your browser (F12 in Edge/Chrome), are there any messages in the console?
Thanks
John
from globalization.
from globalization.
@PaulGor Thanks for confirming!
from globalization.
Related Issues (20)
- MSKLC link dead HOT 11
- 3 broken links on Globalization Documentation main page - https://github.com/MicrosoftDocs/globalization/blob/live/globalization/index.md HOT 1
- Typo HOT 1
- Strange translation of "Learn More" on Russian Language Portal page HOT 2
- United Kingdom layouts should show ISO keyboard HOT 1
- US keyboard layout shows spurious extra key that doesn't exist HOT 1
- German Keyboard: Caps Lock is Shift Lock HOT 8
- Document how Font fallback really works HOT 5
- Ligatures are missing on keyboard layout previews HOT 9
- Control key is not considered as modifier on keyboard layout preview HOT 5
- Navigation is broken on keyboard preview pages HOT 4
- There is missing HOT 4
- Unicode character formatting on keyboard layout pages HOT 24
- Direct keyboard layout pages shouldn't be accessed HOT 2
- Include keyboard identified on keyboard layout pages HOT 6
- Where is this linked in the main learn site? HOT 7
- Links to old MSDN site
- This docset has no PR Preview HOT 4
- Some topics are not hooked up to the TOC HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from globalization.