Giter Site home page Giter Site logo

Comments (10)

nschonni avatar nschonni commented on July 23, 2024

I think DocFx is sanitizing the onclick in general to open those links. Probably should just switch to regular links

from globalization.

Paul-Dempsey avatar Paul-Dempsey commented on July 23, 2024

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.

nschonni avatar nschonni commented on July 23, 2024

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.

Paul-Dempsey avatar Paul-Dempsey commented on July 23, 2024

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.

nschonni avatar nschonni commented on July 23, 2024

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.

jowilco avatar jowilco commented on July 23, 2024

@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.

PaulGor avatar PaulGor commented on July 23, 2024

from globalization.

jowilco avatar jowilco commented on July 23, 2024

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:
image
then the keyboard is displayed:
image

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.

PaulGor avatar PaulGor commented on July 23, 2024

from globalization.

jowilco avatar jowilco commented on July 23, 2024

@PaulGor Thanks for confirming!

from globalization.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.