Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

November Release with Mediabox only shows in Edit mode #19

Open
WalterColeman opened this issue Dec 13, 2017 · 3 comments
Open

November Release with Mediabox only shows in Edit mode #19

WalterColeman opened this issue Dec 13, 2017 · 3 comments

Comments

@WalterColeman
Copy link

When testing, i found the image media shows only during edit mode. it is configured using this script: ='http://www.bing.com/images/search?q=' & GetFieldSelections(OWNER_NAME)
i am running on the desktop using the latest release of Sense.

Any idea's of what is happening?

@stefanwalther
Copy link
Owner

Thx for the report, I think I have found the issue.
May I ask you to test the following branch: https://github.com/stefanwalther/sense-media-box/tree/html-scrollbars/build

This might go into master soon.

@stefanwalther
Copy link
Owner

Just published v0.4.5, can you pls double-check if you still have the issue, thx.

@DarinLevesque
Copy link

DarinLevesque commented Jan 17, 2019

I was having the same issue in November 2018 QlikSense. Upgraded to v0.4.5 and the proper content now shows in both the edit and normal views. However now I'm unable to use <svg>, <style> & <link> tags like I was with v0.4.1

I see that

addStyleToHeader: function ( cssContent ) {
			$( "<style>" ).html( cssContent ).appendTo( "head" );
		},
		addStyleLinkToHeader: function ( linkUrl ) {
			var $styleLink = $( document.createElement( 'link' ) );
			$styleLink.attr( 'rel', 'stylesheet' );
			$styleLink.attr( 'type', 'text/css' );
			$styleLink.attr( 'href', linkUrl );
			$( 'head' ).append( $styleLink );

is in extUtils.js but can't understand why my tags appear to be getting stripped out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants