Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Sign in to follow this  
cronus

Ver Codigo "BBCode" Todo el tiempo al publicar

Recommended Posts

Lo que busco es que cuando vaya a publicar un contenido no se me vean las imagenes de golpe si no solo el codigo BBCode directamente se que hay que modificar al guna parte de este codigo

 

			//build bbcode switch button
			var $bbsw = $(document.createElement('div')).addClass("wysibb-toolbar-container modeSwitch").html('<div class="wysibb-toolbar-btn mswitch" unselectable="on"><span class="btn-inner modesw" unselectable="on">[/]</span><span class="btn-tooltip">Ver código<ins></ins></span></div>').appendTo(this.$toolbar);
			if (this.options.bbmode==true) {$bbsw.children(".wysibb-toolbar-btn").addClass("on");}
			if (this.options.onlyBBmode===false) {
				$bbsw.children(".wysibb-toolbar-btn").click($.proxy(function(e) {
					$(e.currentTarget).toggleClass("on");
					this.modeSwitch();
				},this));
			}

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Patrocinador



  • ×